clear db ignoring foreign key checks

This commit is contained in:
Girish Ramakrishnan
2016-09-20 14:07:39 -07:00
parent cf039b7964
commit 7fde57f7de
5 changed files with 25 additions and 43 deletions

View File

@@ -248,17 +248,6 @@ describe('database', function () {
done();
});
});
it('can clear table', function (done) {
userdb._clear(function (error) {
expect(error).to.not.be.ok();
userdb.count(function (error, count) {
expect(error).to.not.be.ok();
expect(count).to.equal(0);
done();
});
});
});
});
describe('authcode', function () {