diff --git a/packages/plugins/@nocobase/plugin-user-data-sync/src/server/__tests__/api.test.ts b/packages/plugins/@nocobase/plugin-user-data-sync/src/server/__tests__/api.test.ts index dd066ead86..341803db1a 100644 --- a/packages/plugins/@nocobase/plugin-user-data-sync/src/server/__tests__/api.test.ts +++ b/packages/plugins/@nocobase/plugin-user-data-sync/src/server/__tests__/api.test.ts @@ -19,7 +19,7 @@ describe('api', async () => { beforeEach(async () => { app = await createMockServer({ - plugins: ['user-data-sync'], + plugins: ['field-sort', 'user-data-sync'], }); agent = app.agent(); const plugin = app.pm.get('user-data-sync') as PluginUserDataSyncServer; diff --git a/packages/plugins/@nocobase/plugin-users/src/server/__tests__/data-sync.test.ts b/packages/plugins/@nocobase/plugin-users/src/server/__tests__/data-sync.test.ts index 816925a7dd..60e29c1e45 100644 --- a/packages/plugins/@nocobase/plugin-users/src/server/__tests__/data-sync.test.ts +++ b/packages/plugins/@nocobase/plugin-users/src/server/__tests__/data-sync.test.ts @@ -18,7 +18,7 @@ describe('user data sync', () => { beforeEach(async () => { app = await createMockServer({ - plugins: ['user-data-sync', 'users'], + plugins: ['field-sort', 'user-data-sync', 'users'], }); db = app.db; const plugin = app.pm.get('user-data-sync') as PluginUserDataSyncServer;