Skip to content

Commit

Permalink
mapsTo has nothing to do with zeroID test-case
Browse files Browse the repository at this point in the history
stueynz committed Dec 8, 2015
1 parent bb58e47 commit 715c029
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/association-hasone-zeroid.js
Original file line number Diff line number Diff line change
@@ -15,13 +15,13 @@ describe("hasOne", function() {
db.settings.set('instance.returnAllErrors', true);

Person = db.define('person', {
id : {type : "integer", mapsTo: "personID", key:true},
id : {type : "integer", key:true},
firstName : {type : "text", size:"255"},
lastName : {type : "text", size:"255"}
});

Pet = db.define('pet', {
id : {type : "integer", mapsTo:"petID", key:true},
id : {type : "integer", key:true},
petName : {type : "text", size:"255"},
ownerID : {type : "integer", size:"4"}
});

0 comments on commit 715c029

Please sign in to comment.