yohei0125 4 년 전
부모
커밋
7e9285af61
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/test/integration/service/v5.page.test.ts

+ 1 - 1
packages/app/test/integration/service/v5.page.test.ts

@@ -214,7 +214,7 @@ describe('Test page service methods', () => {
     test('it should fail and throw error if PageOperation is not found', async() => {
       const pageOpId = new mongoose.Types.ObjectId(); // not exist in DB
       await expect(restartPageRenameOperation(pageOpId))
-        .rejects.toThrow(new Error('PageRenameOperation is not executable'));
+        .rejects.toThrow(new Error('PageRenameOperation cannot be restarted as PageOperation to be processed is not found'));
     });
   });
 });