Explorar el Código

change method

yohei0125 hace 4 años
padre
commit
d69d5529a5
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      packages/app/test/integration/service/pagev5.test.ts

+ 2 - 2
packages/app/test/integration/service/pagev5.test.ts

@@ -380,8 +380,8 @@ describe('PageService page operations with only public pages', () => {
     });
   });
   afterAll(async() => {
-    await Page.remove({});
-    await User.remove({});
+    await Page.deleteMany({});
+    await User.deleteMany({});
   });
 });