Add missing authorization on views endpoints

Updated ApiKeys authorization to match elsewhere
This commit is contained in:
Tom Moor
2018-02-18 10:56:56 -08:00
parent e84fb5e6ba
commit 83f32be6f7
19 changed files with 129 additions and 35 deletions

View File

@@ -3,7 +3,7 @@ import TestServer from 'fetch-test-server';
import app from '..';
import { flushdb, seed } from '../test/support';
import { buildUser } from '../test/factories';
import Collection from '../models/Collection';
import { Collection } from '../models';
const server = new TestServer(app.callback());
beforeEach(flushdb);