mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Update ApiCacheManager unit test for userNew
This commit is contained in:
		
							parent
							
								
									afc16358ca
								
							
						
					
					
						commit
						29a15858f4
					
				| @ -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() | ||||
|   }) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user