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);