Browse Source

Corrected the test code

Shunm634-source 3 years ago
parent
commit
fef74b6282
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/test/integration/service/page.test.js

+ 1 - 1
packages/app/test/integration/service/page.test.js

@@ -654,7 +654,7 @@ describe('PageService', () => {
       expect(deleteCompletelyOperationSpy).toHaveBeenCalled();
       expect(deleteCompletelyOperationSpy).toHaveBeenCalled();
       expect(deleteCompletelyDescendantsWithStreamSpy).toHaveBeenCalled();
       expect(deleteCompletelyDescendantsWithStreamSpy).toHaveBeenCalled();
 
 
-      expect(pageEventSpy).toHaveBeenCalledWith('deleteCompletely', parentForDeleteCompletely, null, testUser2);
+      expect(pageEventSpy).toHaveBeenCalledWith('deleteCompletely', parentForDeleteCompletely, testUser2);
     });
     });
   });
   });