diff options
| author | jw255 | 2018-04-13 16:25:29 +0100 |
|---|---|---|
| committer | jw255 | 2018-04-13 16:25:29 +0100 |
| commit | f8fa729bb950f1a51eb1cea586483b2132827951 (patch) | |
| tree | 97eeef10d53b7702da5b2191930a47d5fdc9eff0 /test/integration | |
| parent | Merge branch 'trh/gets' of https://gitlab.cs.st-andrews.ac.uk/cs3099group-be-... (diff) | |
| download | medicine-f8fa729bb950f1a51eb1cea586483b2132827951.tar.gz medicine-f8fa729bb950f1a51eb1cea586483b2132827951.zip | |
fixed privileges in testing database
Diffstat (limited to 'test/integration')
| -rw-r--r-- | test/integration/protocol.routes.test.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/integration/protocol.routes.test.ts b/test/integration/protocol.routes.test.ts index 906f3bd..ca20da9 100644 --- a/test/integration/protocol.routes.test.ts +++ b/test/integration/protocol.routes.test.ts @@ -241,20 +241,6 @@ describe('routes : protocol', () => { beforeEach(populateDatabase); beforeEach(getToken); - it.only('test log', () => { - return chai.request(app).get(base + '/log') - .set('Authorization', `Bearer ${token}`) - .catch((err) => { - console.log("a") - console.log(err.response.body) - expect(false); - }).then((res: ChaiHttp.Response) => { - console.log("b") - console.log(res.body) - expect(false); - }); - }); - describe('Access all valid routes', () => { forEach(completeProtocol).it( '%s %s should be json', |
