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

You need to sign in or sign up before continuing.
Commit 7158db95 by Mick Hansen

fix: test not using plain but expecting object response

1 parent c02d62c1
Showing with 1 additions and 1 deletions
......@@ -175,7 +175,7 @@ describe(Support.getTestDialectTeaser('QueryInterface'), function() {
autoIncrement: true
}
}).bind(this).then(function() {
return this.queryInterface.insert(null, 'TableWithPK', {}, {raw: true, returning: true}).then(function(response) {
return this.queryInterface.insert(null, 'TableWithPK', {}, {raw: true, returning: true, plain: true}).then(function(response) {
expect(response.table_id || (typeof response !== 'object' && response)).to.be.ok;
});
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!