mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-21 00:26:01 +02:00
Update unit test stub function
This commit is contained in:
parent
d5ce7b4939
commit
ac159bea72
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ describe('LibraryItemController', () => {
|
|||
|
||||
it('should remove authors and series with no books on library item update media', async () => {
|
||||
const libraryItem = await Database.libraryItemModel.getExpandedById(libraryItem1Id)
|
||||
|
||||
libraryItem.saveMetadataFile = sinon.stub()
|
||||
// Update library item 1 remove all authors and series
|
||||
const fakeReq = {
|
||||
query: {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue