Fix forceId in tests
This commit is contained in:
parent
57ca624979
commit
19618209c8
|
@ -884,10 +884,11 @@ describe('relations - integration', function() {
|
||||||
plural: 'todo-lists',
|
plural: 'todo-lists',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
var todoItem = app.model(
|
var todoItem = app.model('todoItem', {
|
||||||
'todoItem',
|
properties: { content: 'string' },
|
||||||
{ properties: { content: 'string' }, dataSource: 'db' }
|
forceId: false,
|
||||||
);
|
dataSource: 'db',
|
||||||
|
});
|
||||||
todoList.embedsMany(todoItem, { as: 'items' });
|
todoList.embedsMany(todoItem, { as: 'items' });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue