mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: custom request server test (#6452)
This commit is contained in:
parent
9810c91549
commit
30cca1d79c
@ -22,7 +22,15 @@ describe('actions', () => {
|
|||||||
app = await createMockServer({
|
app = await createMockServer({
|
||||||
registerActions: true,
|
registerActions: true,
|
||||||
acl: true,
|
acl: true,
|
||||||
plugins: ['field-sort', 'users', 'auth', 'acl', 'action-custom-request', 'data-source-manager'],
|
plugins: [
|
||||||
|
'field-sort',
|
||||||
|
'users',
|
||||||
|
'auth',
|
||||||
|
'acl',
|
||||||
|
'action-custom-request',
|
||||||
|
'data-source-manager',
|
||||||
|
'ui-schema-storage',
|
||||||
|
],
|
||||||
});
|
});
|
||||||
db = app.db;
|
db = app.db;
|
||||||
repo = db.getRepository('customRequests');
|
repo = db.getRepository('customRequests');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user