diff --git a/packages/google-cloud-filestore/test/gapic_cloud_filestore_manager_v1.ts b/packages/google-cloud-filestore/test/gapic_cloud_filestore_manager_v1.ts index 578093cd2b1..914d07c4894 100644 --- a/packages/google-cloud-filestore/test/gapic_cloud_filestore_manager_v1.ts +++ b/packages/google-cloud-filestore/test/gapic_cloud_filestore_manager_v1.ts @@ -374,7 +374,6 @@ describe('v1.CloudFilestoreManagerClient', () => { new protos.google.cloud.filestore.v1.GetInstanceRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getInstance(request), expectedError); @@ -502,7 +501,6 @@ describe('v1.CloudFilestoreManagerClient', () => { new protos.google.cloud.filestore.v1.GetBackupRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getBackup(request), expectedError); diff --git a/packages/google-cloud-filestore/test/gapic_cloud_filestore_manager_v1beta1.ts b/packages/google-cloud-filestore/test/gapic_cloud_filestore_manager_v1beta1.ts index f24814baef4..06c84e5da31 100644 --- a/packages/google-cloud-filestore/test/gapic_cloud_filestore_manager_v1beta1.ts +++ b/packages/google-cloud-filestore/test/gapic_cloud_filestore_manager_v1beta1.ts @@ -376,7 +376,6 @@ describe('v1beta1.CloudFilestoreManagerClient', () => { new protos.google.cloud.filestore.v1beta1.GetInstanceRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getInstance(request), expectedError); @@ -504,7 +503,6 @@ describe('v1beta1.CloudFilestoreManagerClient', () => { new protos.google.cloud.filestore.v1beta1.GetBackupRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getBackup(request), expectedError);