Skip to content

Commit

Permalink
fix: regenerate unit tests (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored May 6, 2020
1 parent 8f9c75a commit 095f33b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
14 changes: 3 additions & 11 deletions packages/google-cloud-phishingprotection/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,15 @@
{
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-phishing-protection.git",
"sha": "5eddb2038fbf2e198e45730620b7da97238a30fa"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "42ee97c1b93a0e3759bbba3013da309f670a90ab",
"internalRef": "307114445"
"remote": "git@github.com:googleapis/nodejs-phishing-protection.git",
"sha": "2eaf30eadd7e15701f9bfc1ddfb0049ae1a46867"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "19465d3ec5e5acdb01521d8f3bddd311bcbee28d"
"sha": "ab883569eb0257bbf16a6d825fd018b3adde3912"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,7 @@ describe('v1beta1.PhishingProtectionServiceV1Beta1Client', () => {
undefined,
expectedError
);
await assert.rejects(async () => {
await client.reportPhishing(request);
}, expectedError);
await assert.rejects(client.reportPhishing(request), expectedError);
assert(
(client.innerApiCalls.reportPhishing as SinonStub)
.getCall(0)
Expand Down

0 comments on commit 095f33b

Please sign in to comment.