yohei0125 4 years ago
parent
commit
7e9285af61
1 changed files with 1 additions and 1 deletions
  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'));
     });
   });
 });