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.ts16
1 files changed, 10 insertions, 6 deletions
diff --git a/test/server/token/MongoTokenDaoTest.ts b/test/server/token/MongoTokenDaoTest.ts
index 23e403e..67e3a65 100644
--- a/test/server/token/MongoTokenDaoTest.ts
+++ b/test/server/token/MongoTokenDaoTest.ts
@@ -372,6 +372,7 @@ describe( 'server.token.TokenDao', () =>
`${ns}.tok123`,
{
doc_id: did,
+ quote_id: did,
ns: ns,
token_id: 'tok123',
},
@@ -386,8 +387,9 @@ describe( 'server.token.TokenDao', () =>
null,
ns,
{
- doc_id: did,
- ns: ns,
+ doc_id: did,
+ quote_id: did,
+ ns: ns,
},
],
@@ -440,8 +442,9 @@ describe( 'server.token.TokenDao', () =>
null,
ns,
{
- doc_id: did,
- ns: ns,
+ doc_id: did,
+ quote_id: did,
+ ns: ns,
},
],
@@ -454,8 +457,9 @@ describe( 'server.token.TokenDao', () =>
null,
ns,
{
- doc_id: did,
- ns: ns,
+ doc_id: did,
+ quote_id: did,
+ ns: ns,
},
],
] ).forEach( ( [ label, tok_id, dbresult, expected, fmsg, fcontext ] ) =>