Merge pull request #2501 from strongloop/fix/forceId

Set forceId = false for AccessToken
This commit is contained in:
Janny 2016-08-08 16:24:04 -04:00 committed by GitHub
commit 5fd1766a81
1 changed files with 5 additions and 4 deletions

View File

@ -884,10 +884,11 @@ describe('relations - integration', function() {
plural: 'todo-lists',
}
);
var todoItem = app.model(
'todoItem',
{ properties: { content: 'string' }, dataSource: 'db' }
);
var todoItem = app.model('todoItem', {
properties: { content: 'string' },
forceId: false,
dataSource: 'db',
});
todoList.embedsMany(todoItem, { as: 'items' });
});