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