mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 03:25:10 +00:00
fix(plugin-users): fix test with sort field
This commit is contained in:
parent
b83435eb2b
commit
54d51e3d23
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user