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

Commit 06055fd4 by Andreas Franzen

updated the test for postgres

1 parent 360962d9
Showing with 1 additions and 1 deletions
......@@ -203,7 +203,7 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () {
})
it('replaces named parameters with the passed object and ignore those which does not qualify', function(done) {
this.sequelize.query('select :one as foo, :two as bar, "00:00" as baz', null, { raw: true }, { one: 1, two: 2 }).success(function(result) {
this.sequelize.query('select :one as foo, :two as bar, \'00:00\' as baz', null, { raw: true }, { one: 1, two: 2 }).success(function(result) {
expect(result).to.deep.equal([{ foo: 1, bar: 2, baz: '00:00' }])
done()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!