From ac159bea72732855d54bda122f5e3563bb5445a8 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 5 Jan 2025 12:12:20 -0600 Subject: [PATCH] Update unit test stub function --- test/server/controllers/LibraryItemController.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/server/controllers/LibraryItemController.test.js b/test/server/controllers/LibraryItemController.test.js index fb65cc4b..9972bd90 100644 --- a/test/server/controllers/LibraryItemController.test.js +++ b/test/server/controllers/LibraryItemController.test.js @@ -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: {},