From 54b450d69fcfe2e30fe93e57e6abc284557e0280 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 17 Nov 2026 02:48:19 -0800 Subject: [PATCH] Update test expectation for document deletion --- .../document-list/bulk-editor/bulk-editor.component.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts index 35440579a9..3c9fe687c0 100644 --- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts +++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.spec.ts @@ -1292,7 +1292,7 @@ describe('BulkEditorComponent', () => { ) req.flush({ result: 'OK', task_id: 'delete-2' }) // ids aren't known when all matching documents are selected, so no undo - expect(trackSpy).toHaveBeenLastCalledWith('delete-2', 0, [3, 4]) + expect(trackSpy).toHaveBeenLastCalledWith('delete-2', 0, null) httpTestingController.match( `${environment.apiBaseUrl}documents/?page=1&page_size=50&ordering=-created&truncate_content=true&include_selection_data=true` ) // list reload @@ -1512,7 +1512,6 @@ describe('BulkEditorComponent', () => { httpTestingController.match( `${environment.apiBaseUrl}documents/?page=1&page_size=100000&fields=id` ) // listAllFilteredIds - expect(documentListViewService.selected.size).toEqual(0) }) it('should support merging documents as versions', () => {