aboutsummaryrefslogtreecommitdiff
path: root/test/integration/auth.routes.test.ts
diff options
context:
space:
mode:
authorjw2552018-03-04 17:36:41 +0000
committerjw2552018-03-04 17:36:41 +0000
commitecd7bc6f4eb2e330af36a336a3aa931319aa2c32 (patch)
treeb18fc1928c8a326a6f939dd6ad4bec56df559539 /test/integration/auth.routes.test.ts
parentMerge branch 'trh/payload-checker' into testing-middleware (diff)
downloadmedicine-ecd7bc6f4eb2e330af36a336a3aa931319aa2c32.tar.gz
medicine-ecd7bc6f4eb2e330af36a336a3aa931319aa2c32.zip

fixed authentication and DB initialisation

Diffstat (limited to 'test/integration/auth.routes.test.ts')
-rw-r--r--test/integration/auth.routes.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/auth.routes.test.ts b/test/integration/auth.routes.test.ts
index e0fb723..4eeb1b2 100644
--- a/test/integration/auth.routes.test.ts
+++ b/test/integration/auth.routes.test.ts
@@ -15,7 +15,7 @@ chai.use(require('chai-http'));
import 'mocha';
import * as App from '../../src/app';
-let app = App.TestApp();
+const app = App.TestApp();
describe('authentication', () => {
it('should be json', () => {
@@ -39,4 +39,4 @@ describe('authentication', () => {
});
});
-}); \ No newline at end of file
+});