From 35b549543d5e274dae19affffc0c7643c067d903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Mon, 23 Mar 2015 09:18:46 +0100 Subject: [PATCH] test: fix test failure in MySQL connector Fix a test using a string Person.id value to use a numeric value instead, in order to support connectors that use numeric ids by default. --- test/manipulation.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/manipulation.test.js b/test/manipulation.test.js index df6cfdc9..1ca4fa0c 100644 --- a/test/manipulation.test.js +++ b/test/manipulation.test.js @@ -617,7 +617,7 @@ describe('manipulation', function () { it('should allow save() of the created instance', function(done) { Person.updateOrCreate( - { id: 'new-id', name: 'a-name' }, + { id: 999 /* a new id */, name: 'a-name' }, function(err, inst) { if (err) return done(err); inst.save(done);