Skip to content

Commit

Permalink
fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelgrosso1 committed Jul 20, 2023
1 parent b47fcf9 commit 5c0bdea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/test.oauth2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -819,9 +819,8 @@ describe('oauth2', () => {
.replyWithFile(200, certsResPath);
client.getFederatedSignonCerts((err, certs) => {
assert.strictEqual(err, null);
assert.strictEqual(Object.keys(certs!).length, 2);
assert.notStrictEqual(
certs!.a15eea964ab9cce480e5ef4f47cb17b9fa7d0b21,
certs!['a15eea964ab9cce480e5ef4f47cb17b9fa7d0b21'],
null
);
assert.notStrictEqual(
Expand Down Expand Up @@ -861,8 +860,7 @@ describe('oauth2', () => {
.replyWithFile(200, pubkeysResPath);
client.getIapPublicKeys((err, pubkeys) => {
assert.strictEqual(err, null);
assert.strictEqual(Object.keys(pubkeys!).length, 2);
assert.notStrictEqual(pubkeys!.f9R3yg, null);
assert.notStrictEqual(pubkeys!['f9R3yg'], null);
assert.notStrictEqual(pubkeys!['2nMJtw'], null);
scope.done();
done();
Expand Down

0 comments on commit 5c0bdea

Please sign in to comment.