Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#314)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Committer: @summer-ji-eng
PiperOrigin-RevId: 434859890

Source-Link: googleapis/googleapis@bc2432d

Source-Link: googleapis/googleapis-gen@930b673
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Mar 16, 2022
1 parent b13e567 commit 36ca7ff
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ describe('v1.DocumentProcessorServiceClient', () => {
new protos.google.cloud.documentai.v1.ProcessRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.processDocument(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ describe('v1beta3.DocumentProcessorServiceClient', () => {
new protos.google.cloud.documentai.v1beta3.ProcessRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.processDocument(request), expectedError);
Expand Down Expand Up @@ -537,7 +536,6 @@ describe('v1beta3.DocumentProcessorServiceClient', () => {
new protos.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.fetchProcessorTypes(request), expectedError);
Expand Down Expand Up @@ -676,7 +674,6 @@ describe('v1beta3.DocumentProcessorServiceClient', () => {
new protos.google.cloud.documentai.v1beta3.CreateProcessorRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createProcessor(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ describe('v1beta2.DocumentUnderstandingServiceClient', () => {
new protos.google.cloud.documentai.v1beta2.ProcessDocumentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.processDocument(request), expectedError);
Expand Down

0 comments on commit 36ca7ff

Please sign in to comment.