Fix test: not strict equal when comparing ids
This commit is contained in:
parent
6c0ac6df16
commit
6be57cf454
|
@ -403,7 +403,7 @@ function testOrm(schema) {
|
|||
if (err) return console.log(err);
|
||||
// test.ok(post.author(), u.id);
|
||||
u.posts(function (err, posts) {
|
||||
test.strictEqual(posts.pop().id, post.id);
|
||||
test.equal(posts.pop().id, post.id);
|
||||
test.done();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue