Skip to content

Commit e9013d2

Browse files
chore: update v2.14.2 gapic-generator-typescript (#133)
* chore: update v2.14.2 gapic-generator-typescript Committer: @summer-ji-eng PiperOrigin-RevId: 434859890 Source-Link: googleapis/googleapis@bc2432d Source-Link: googleapis/googleapis-gen@930b673 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 <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 8883bf3 commit e9013d2

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/google-cloud-channel/test/gapic_cloud_channel_service_v1.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@ describe('v1.CloudChannelServiceClient', () => {
370370
new protos.google.cloud.channel.v1.GetCustomerRequest()
371371
);
372372
request.name = '';
373-
const expectedHeaderRequestParams = 'name=';
374373
const expectedError = new Error('The client has already been closed.');
375374
client.close();
376375
await assert.rejects(client.getCustomer(request), expectedError);
@@ -509,7 +508,6 @@ describe('v1.CloudChannelServiceClient', () => {
509508
new protos.google.cloud.channel.v1.CheckCloudIdentityAccountsExistRequest()
510509
);
511510
request.parent = '';
512-
const expectedHeaderRequestParams = 'parent=';
513511
const expectedError = new Error('The client has already been closed.');
514512
client.close();
515513
await assert.rejects(
@@ -647,7 +645,6 @@ describe('v1.CloudChannelServiceClient', () => {
647645
new protos.google.cloud.channel.v1.CreateCustomerRequest()
648646
);
649647
request.parent = '';
650-
const expectedHeaderRequestParams = 'parent=';
651648
const expectedError = new Error('The client has already been closed.');
652649
client.close();
653650
await assert.rejects(client.createCustomer(request), expectedError);
@@ -786,7 +783,6 @@ describe('v1.CloudChannelServiceClient', () => {
786783
);
787784
request.customer = {};
788785
request.customer.name = '';
789-
const expectedHeaderRequestParams = 'customer.name=';
790786
const expectedError = new Error('The client has already been closed.');
791787
client.close();
792788
await assert.rejects(client.updateCustomer(request), expectedError);
@@ -921,7 +917,6 @@ describe('v1.CloudChannelServiceClient', () => {
921917
new protos.google.cloud.channel.v1.DeleteCustomerRequest()
922918
);
923919
request.name = '';
924-
const expectedHeaderRequestParams = 'name=';
925920
const expectedError = new Error('The client has already been closed.');
926921
client.close();
927922
await assert.rejects(client.deleteCustomer(request), expectedError);
@@ -1056,7 +1051,6 @@ describe('v1.CloudChannelServiceClient', () => {
10561051
new protos.google.cloud.channel.v1.ImportCustomerRequest()
10571052
);
10581053
request.parent = '';
1059-
const expectedHeaderRequestParams = 'parent=';
10601054
const expectedError = new Error('The client has already been closed.');
10611055
client.close();
10621056
await assert.rejects(client.importCustomer(request), expectedError);
@@ -1191,7 +1185,6 @@ describe('v1.CloudChannelServiceClient', () => {
11911185
new protos.google.cloud.channel.v1.GetEntitlementRequest()
11921186
);
11931187
request.name = '';
1194-
const expectedHeaderRequestParams = 'name=';
11951188
const expectedError = new Error('The client has already been closed.');
11961189
client.close();
11971190
await assert.rejects(client.getEntitlement(request), expectedError);
@@ -1330,7 +1323,6 @@ describe('v1.CloudChannelServiceClient', () => {
13301323
new protos.google.cloud.channel.v1.GetChannelPartnerLinkRequest()
13311324
);
13321325
request.name = '';
1333-
const expectedHeaderRequestParams = 'name=';
13341326
const expectedError = new Error('The client has already been closed.');
13351327
client.close();
13361328
await assert.rejects(
@@ -1472,7 +1464,6 @@ describe('v1.CloudChannelServiceClient', () => {
14721464
new protos.google.cloud.channel.v1.CreateChannelPartnerLinkRequest()
14731465
);
14741466
request.parent = '';
1475-
const expectedHeaderRequestParams = 'parent=';
14761467
const expectedError = new Error('The client has already been closed.');
14771468
client.close();
14781469
await assert.rejects(
@@ -1614,7 +1605,6 @@ describe('v1.CloudChannelServiceClient', () => {
16141605
new protos.google.cloud.channel.v1.UpdateChannelPartnerLinkRequest()
16151606
);
16161607
request.name = '';
1617-
const expectedHeaderRequestParams = 'name=';
16181608
const expectedError = new Error('The client has already been closed.');
16191609
client.close();
16201610
await assert.rejects(
@@ -1752,7 +1742,6 @@ describe('v1.CloudChannelServiceClient', () => {
17521742
new protos.google.cloud.channel.v1.LookupOfferRequest()
17531743
);
17541744
request.entitlement = '';
1755-
const expectedHeaderRequestParams = 'entitlement=';
17561745
const expectedError = new Error('The client has already been closed.');
17571746
client.close();
17581747
await assert.rejects(client.lookupOffer(request), expectedError);
@@ -1888,7 +1877,6 @@ describe('v1.CloudChannelServiceClient', () => {
18881877
new protos.google.cloud.channel.v1.RegisterSubscriberRequest()
18891878
);
18901879
request.account = '';
1891-
const expectedHeaderRequestParams = 'account=';
18921880
const expectedError = new Error('The client has already been closed.');
18931881
client.close();
18941882
await assert.rejects(client.registerSubscriber(request), expectedError);
@@ -2024,7 +2012,6 @@ describe('v1.CloudChannelServiceClient', () => {
20242012
new protos.google.cloud.channel.v1.UnregisterSubscriberRequest()
20252013
);
20262014
request.account = '';
2027-
const expectedHeaderRequestParams = 'account=';
20282015
const expectedError = new Error('The client has already been closed.');
20292016
client.close();
20302017
await assert.rejects(client.unregisterSubscriber(request), expectedError);

0 commit comments

Comments
 (0)