From eef75fbe33d5651e16e36305a7047b1d1280f418 Mon Sep 17 00:00:00 2001 From: kdhttps Date: Wed, 22 Nov 2023 22:03:02 +0530 Subject: [PATCH] fix(test): fixing cache provide test cases --- test/cache-provider.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cache-provider.test.js b/test/cache-provider.test.js index 62843c3d..5e01baf3 100644 --- a/test/cache-provider.test.js +++ b/test/cache-provider.test.js @@ -13,13 +13,14 @@ describe('cache provider test', () => { const testProvider = testConfig.passportConfigAuthorizedResponse.providers.find(provider => provider.id === 'saml-redis-test') testProvider.options.retry_strategy = retryStrategy - it('redis is not live so we should get connection error response', () => { + it('redis is not live so we should get connection error response.', () => { const client = redis.createClient(testProvider.options) client.on('ready', () => { assert.fail('redis connection should not work') }) client.on('error', actualError => { + console.log('testing redis test...') const expectedError = new Error('Ready check failed: NOAUTH Authentication required.') assert.equal(actualError.message, expectedError.message) })