mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-04 16:31:37 +00:00
Auto format
This commit is contained in:
parent
e5af2f336b
commit
2f2d026b06
1 changed files with 1 additions and 3 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue