Explorar o código

change method

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
d69d5529a5
Modificáronse 1 ficheiros con 2 adicións e 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({});
   });
 });