mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-07 13:25:23 +02:00
Auto format
This commit is contained in:
@@ -547,9 +547,7 @@ describe('MeController - IDOR Security Tests', () => {
|
|||||||
|
|
||||||
// Create mock context with getUserItemListeningSessionsHelper
|
// Create mock context with getUserItemListeningSessionsHelper
|
||||||
const mockContext = {
|
const mockContext = {
|
||||||
getUserItemListeningSessionsHelper: sinon.stub().resolves([
|
getUserItemListeningSessionsHelper: sinon.stub().resolves([{ id: 'session1', timeListening: 300, startedAt: Date.now() }])
|
||||||
{ id: 'session1', timeListening: 300, startedAt: Date.now() }
|
|
||||||
])
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const fakeReq = {
|
const fakeReq = {
|
||||||
|
|||||||
Reference in New Issue
Block a user