Add test case to user-id-test.js
This commit is contained in:
parent
e7735f0346
commit
5d4e162c01
@ -124,6 +124,11 @@ describe('User ID Integration Tests', function() {
|
||||
expect(gotten).to.deep.equal(flagged);
|
||||
});
|
||||
|
||||
it('should flag no documents for wrong key id param', function *() {
|
||||
let flagged = yield userId.flagForRemove({ keyid:'4' });
|
||||
expect(flagged.length).to.equal(0);
|
||||
});
|
||||
|
||||
it('should flag no documents no param', function *() {
|
||||
let flagged = yield userId.flagForRemove({});
|
||||
expect(flagged.length).to.equal(0);
|
||||
|
Loading…
Reference in New Issue
Block a user