Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'test/server/token/MongoTokenDaoTest.ts')
-rw-r--r--test/server/token/MongoTokenDaoTest.ts14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/server/token/MongoTokenDaoTest.ts b/test/server/token/MongoTokenDaoTest.ts
index 167685a..23e403e 100644
--- a/test/server/token/MongoTokenDaoTest.ts
+++ b/test/server/token/MongoTokenDaoTest.ts
@@ -26,7 +26,7 @@ import {
} from "../../../src/server/token/TokenDao";
import { MongoTokenDao as Sut } from "../../../src/server/token/MongoTokenDao";
-
+import { MongoCollection } from "mongodb";
import {
TokenId,
TokenNamespace,
@@ -248,6 +248,9 @@ describe( 'server.token.TokenDao', () =>
update() {},
findOne() {},
+ find() {},
+ createIndex() {},
+ insert() {},
};
return expect(
@@ -269,6 +272,9 @@ describe( 'server.token.TokenDao', () =>
update() {},
findOne() {},
+ find() {},
+ createIndex() {},
+ insert() {},
};
return expect(
@@ -477,6 +483,9 @@ describe( 'server.token.TokenDao', () =>
update() {},
findAndModify() {},
+ find() {},
+ createIndex() {},
+ insert() {},
};
const result = new Sut( coll, field, () => <UnixTimestamp>0 )
@@ -520,6 +529,9 @@ describe( 'server.token.TokenDao', () =>
update() {},
findAndModify() {},
+ find() {},
+ createIndex() {},
+ insert() {},
};
return expect(