瀏覽代碼

Corrected the test code

Shunm634-source 3 年之前
父節點
當前提交
fef74b6282
共有 1 個文件被更改,包括 1 次插入1 次删除
  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(deleteCompletelyDescendantsWithStreamSpy).toHaveBeenCalled();
 
-      expect(pageEventSpy).toHaveBeenCalledWith('deleteCompletely', parentForDeleteCompletely, null, testUser2);
+      expect(pageEventSpy).toHaveBeenCalledWith('deleteCompletely', parentForDeleteCompletely, testUser2);
     });
   });