Fix unit test
This commit is contained in:
parent
313fc75ec8
commit
95d694f6c5
@ -178,10 +178,9 @@ describe('prepare-context', function() {
|
||||
return done(err);
|
||||
}
|
||||
|
||||
var query = res.locals;
|
||||
assert.deepEqual(config, query.config);
|
||||
assert.equal('test', query.api_key);
|
||||
assert.equal(undefined, query.non_included);
|
||||
assert.deepEqual(config, req.query.config);
|
||||
assert.equal('test', req.query.api_key);
|
||||
assert.equal(undefined, req.query.non_included);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user