mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-21 11:52:01 +01:00
fix isObjectField test
This commit is contained in:
@@ -211,7 +211,7 @@ describe('Hash methods', function() {
|
||||
});
|
||||
|
||||
it('should return true if field exists', function(done) {
|
||||
db.isObjectField('testObject1', function(err, value) {
|
||||
db.isObjectField('testObject1', 'lastname', function(err, value) {
|
||||
assert.equal(err, null);
|
||||
assert.equal(arguments.length, 2);
|
||||
assert.equal(value, true);
|
||||
|
||||
Reference in New Issue
Block a user