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.
This commit is contained in:
Miroslav Bajtoš 2015-03-23 09:18:46 +01:00
parent 1fbaf4e382
commit 35b549543d
1 changed files with 1 additions and 1 deletions

View File

@ -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);