remove admin references from userdb

This commit is contained in:
girish@cloudron.io
2016-02-08 16:18:00 -08:00
parent 52ce59faaf
commit b1f4508313
2 changed files with 6 additions and 25 deletions

View File

@@ -147,15 +147,7 @@ describe('database', function () {
});
});
it('counts the admin users', function (done) {
userdb.adminCount(function (error, count) {
expect(error).to.not.be.ok();
expect(count).to.equal(1);
done();
});
});
it('can update the user', function (done) {
it('can update the user', function (done) {
userdb.update(USER_0.id, { email: 'some@thing.com', displayName: 'Heiter' }, function (error) {
expect(error).to.not.be.ok();
userdb.get(USER_0.id, function (error, user) {