aboutsummaryrefslogtreecommitdiff
path: root/test/integration/protocol.routes.test.ts
diff options
context:
space:
mode:
authorjw2552018-04-13 16:25:29 +0100
committerjw2552018-04-13 16:25:29 +0100
commitf8fa729bb950f1a51eb1cea586483b2132827951 (patch)
tree97eeef10d53b7702da5b2191930a47d5fdc9eff0 /test/integration/protocol.routes.test.ts
parentMerge branch 'trh/gets' of https://gitlab.cs.st-andrews.ac.uk/cs3099group-be-... (diff)
downloadmedicine-f8fa729bb950f1a51eb1cea586483b2132827951.tar.gz
medicine-f8fa729bb950f1a51eb1cea586483b2132827951.zip

fixed privileges in testing database

Diffstat (limited to 'test/integration/protocol.routes.test.ts')
-rw-r--r--test/integration/protocol.routes.test.ts14
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',