From f143b44aa0edd7ad569bb9ae90fb9282959697cb Mon Sep 17 00:00:00 2001 From: "harshitha.d" Date: Thu, 4 Dec 2025 15:12:55 +0530 Subject: [PATCH 1/2] Fix assertion in user info test to check for undefined uid --- test/sanity-check/api/oauth-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanity-check/api/oauth-test.js b/test/sanity-check/api/oauth-test.js index 53712229..52f21078 100644 --- a/test/sanity-check/api/oauth-test.js +++ b/test/sanity-check/api/oauth-test.js @@ -33,7 +33,7 @@ describe('OAuth Authentication API Test', () => { it('should get Current user info test', done => { client.getUser().then((user) => { - expect(user.uid).not.to.be(undefined) + expect(user.uid).to.be.not.undefined done() }) .catch(done) From 823004738e07526ee0078dc5dc591ad28d374110 Mon Sep 17 00:00:00 2001 From: "harshitha.d" Date: Thu, 4 Dec 2025 15:20:06 +0530 Subject: [PATCH 2/2] Fix assertion in user info test to ensure uid is defined --- test/sanity-check/api/oauth-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanity-check/api/oauth-test.js b/test/sanity-check/api/oauth-test.js index 52f21078..a44b08f3 100644 --- a/test/sanity-check/api/oauth-test.js +++ b/test/sanity-check/api/oauth-test.js @@ -33,7 +33,7 @@ describe('OAuth Authentication API Test', () => { it('should get Current user info test', done => { client.getUser().then((user) => { - expect(user.uid).to.be.not.undefined + expect(user.uid).to.not.be.equal(undefined) done() }) .catch(done)