不要怂,就是干,撸起袖子干!

Commit cefbfb8c by cbauerme Committed by Sushant

Seperate test fix (#6321)

* Added ids to

* Removed extra added newline.
1 parent 14377dab
Showing with 8 additions and 7 deletions
......@@ -378,6 +378,7 @@ if (current.dialect.supports.groupedLimit) {
it('should work with two schema models in a hasMany association', function() {
var User = this.sequelize.define('User', {}, {schema: 'archive'})
, Task = this.sequelize.define('Task', {
id: { type: DataTypes.INTEGER, primaryKey: true },
title: DataTypes.STRING
}, {schema: 'archive'});
......@@ -389,19 +390,19 @@ if (current.dialect.supports.groupedLimit) {
return Promise.join(
User.create({
tasks: [
{title: 'b'},
{title: 'd'},
{title: 'c'},
{title: 'a'}
{id: 1, title: 'b'},
{id: 2, title: 'd'},
{id: 3, title: 'c'},
{id: 4, title: 'a'}
]
}, {
include: [User.Tasks]
}),
User.create({
tasks: [
{title: 'a'},
{title: 'c'},
{title: 'b'}
{id: 5, title: 'a'},
{id: 6, title: 'c'},
{id: 7, title: 'b'}
]
}, {
include: [User.Tasks]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!