Skip to content

Commit

Permalink
Update ApiCacheManager unit test for userNew
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Aug 11, 2024
1 parent afc1635 commit 29a1585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/server/managers/ApiCacheManager.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('ApiCacheManager', () => {

beforeEach(() => {
cache = { get: sinon.stub(), set: sinon.spy() }
req = { user: { username: 'testUser' }, url: '/test-url', query: {} }
req = { user: { username: 'testUser' }, userNew: { username: 'testUser' }, url: '/test-url', query: {} }
res = { send: sinon.spy(), getHeaders: sinon.stub(), statusCode: 200, status: sinon.spy(), set: sinon.spy() }
next = sinon.spy()
})
Expand Down

0 comments on commit 29a1585

Please sign in to comment.