Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#96)
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 e96c788 commit d229ea8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/google-cloud-orgpolicy/test/gapic_org_policy_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ describe('v2.OrgPolicyClient', () => {
new protos.google.cloud.orgpolicy.v2.GetPolicyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getPolicy(request), expectedError);
Expand Down Expand Up @@ -453,7 +452,6 @@ describe('v2.OrgPolicyClient', () => {
new protos.google.cloud.orgpolicy.v2.GetEffectivePolicyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getEffectivePolicy(request), expectedError);
Expand Down Expand Up @@ -580,7 +578,6 @@ describe('v2.OrgPolicyClient', () => {
new protos.google.cloud.orgpolicy.v2.CreatePolicyRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createPolicy(request), expectedError);
Expand Down Expand Up @@ -711,7 +708,6 @@ describe('v2.OrgPolicyClient', () => {
);
request.policy = {};
request.policy.name = '';
const expectedHeaderRequestParams = 'policy.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updatePolicy(request), expectedError);
Expand Down Expand Up @@ -838,7 +834,6 @@ describe('v2.OrgPolicyClient', () => {
new protos.google.cloud.orgpolicy.v2.DeletePolicyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deletePolicy(request), expectedError);
Expand Down

0 comments on commit d229ea8

Please sign in to comment.