Skip to content

Commit 8230047

Browse files
Fix assertion in user info test to ensure uid is defined
1 parent f143b44 commit 8230047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sanity-check/api/oauth-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('OAuth Authentication API Test', () => {
3333

3434
it('should get Current user info test', done => {
3535
client.getUser().then((user) => {
36-
expect(user.uid).to.be.not.undefined
36+
expect(user.uid).to.not.be.equal(undefined)
3737
done()
3838
})
3939
.catch(done)

0 commit comments

Comments
 (0)