From 498d276ff9033abcc011deaef10cf15bc836ccb0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 16 Mar 2022 11:53:54 -0700 Subject: [PATCH] chore: update v2.14.2 gapic-generator-typescript (#515) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: update v2.14.2 gapic-generator-typescript Committer: @summer-ji-eng PiperOrigin-RevId: 434859890 Source-Link: https://github.com/googleapis/googleapis/commit/bc2432d50cba657e95212122e3fa112591b5bec2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/930b673103e92523f8cfed38decd7d3afae8ebe7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../google-cloud-oslogin/test/gapic_os_login_service_v1.ts | 6 ------ .../test/gapic_os_login_service_v1beta.ts | 6 ------ 2 files changed, 12 deletions(-) diff --git a/packages/google-cloud-oslogin/test/gapic_os_login_service_v1.ts b/packages/google-cloud-oslogin/test/gapic_os_login_service_v1.ts index 7e643735357..4961f885905 100644 --- a/packages/google-cloud-oslogin/test/gapic_os_login_service_v1.ts +++ b/packages/google-cloud-oslogin/test/gapic_os_login_service_v1.ts @@ -268,7 +268,6 @@ describe('v1.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1.DeletePosixAccountRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.deletePosixAccount(request), expectedError); @@ -396,7 +395,6 @@ describe('v1.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1.DeleteSshPublicKeyRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.deleteSshPublicKey(request), expectedError); @@ -523,7 +521,6 @@ describe('v1.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1.GetLoginProfileRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getLoginProfile(request), expectedError); @@ -650,7 +647,6 @@ describe('v1.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1.GetSshPublicKeyRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getSshPublicKey(request), expectedError); @@ -778,7 +774,6 @@ describe('v1.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1.ImportSshPublicKeyRequest() ); request.parent = ''; - const expectedHeaderRequestParams = 'parent='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.importSshPublicKey(request), expectedError); @@ -906,7 +901,6 @@ describe('v1.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1.UpdateSshPublicKeyRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.updateSshPublicKey(request), expectedError); diff --git a/packages/google-cloud-oslogin/test/gapic_os_login_service_v1beta.ts b/packages/google-cloud-oslogin/test/gapic_os_login_service_v1beta.ts index 9ad708f8277..1ac2e25accd 100644 --- a/packages/google-cloud-oslogin/test/gapic_os_login_service_v1beta.ts +++ b/packages/google-cloud-oslogin/test/gapic_os_login_service_v1beta.ts @@ -268,7 +268,6 @@ describe('v1beta.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1beta.DeletePosixAccountRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.deletePosixAccount(request), expectedError); @@ -396,7 +395,6 @@ describe('v1beta.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1beta.DeleteSshPublicKeyRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.deleteSshPublicKey(request), expectedError); @@ -523,7 +521,6 @@ describe('v1beta.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1beta.GetLoginProfileRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getLoginProfile(request), expectedError); @@ -650,7 +647,6 @@ describe('v1beta.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1beta.GetSshPublicKeyRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getSshPublicKey(request), expectedError); @@ -778,7 +774,6 @@ describe('v1beta.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1beta.ImportSshPublicKeyRequest() ); request.parent = ''; - const expectedHeaderRequestParams = 'parent='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.importSshPublicKey(request), expectedError); @@ -906,7 +901,6 @@ describe('v1beta.OsLoginServiceClient', () => { new protos.google.cloud.oslogin.v1beta.UpdateSshPublicKeyRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.updateSshPublicKey(request), expectedError);