Renamed Document#atlasId finally

This commit is contained in:
Jori Lallo
2018-02-07 00:04:39 -08:00
parent 5588897271
commit f08b3e0ac5
8 changed files with 29 additions and 20 deletions

View File

@@ -37,7 +37,7 @@ describe('#documents.list', async () => {
it('should allow filtering by collection', async () => {
const { user, document } = await seed();
const res = await server.post('/api/documents.list', {
body: { token: user.getJwtToken(), collection: document.atlasId },
body: { token: user.getJwtToken(), collection: document.collectionId },
});
const body = await res.json();