diff options
| author | jw255 | 2018-03-06 16:50:03 +0000 |
|---|---|---|
| committer | jw255 | 2018-03-06 16:50:03 +0000 |
| commit | f3491957d8599a7ba97d9cb324274df49b6fdbd0 (patch) | |
| tree | 98fbc253b0f5d3f140450b339d01da1c8055b052 /test/integration/index.routes.test.ts | |
| parent | Merge branch 'trh/payload-checker' into testing-middleware (diff) | |
| download | medicine-f3491957d8599a7ba97d9cb324274df49b6fdbd0.tar.gz medicine-f3491957d8599a7ba97d9cb324274df49b6fdbd0.zip | |
authentication tests
Diffstat (limited to 'test/integration/index.routes.test.ts')
| -rw-r--r-- | test/integration/index.routes.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/index.routes.test.ts b/test/integration/index.routes.test.ts index 9ddd1de..3a5d5ea 100644 --- a/test/integration/index.routes.test.ts +++ b/test/integration/index.routes.test.ts @@ -30,7 +30,7 @@ const userCredentials: Object = { let token: string; -async function addUser(done: any) { +async function startDatabase(done: any) { await seq.authenticate(); await seq.sync({ force: true @@ -47,7 +47,7 @@ async function addUser(done: any) { // Add user before(function(done: any) { - addUser(done); + startDatabase(done); }); describe('routes : index', () => { |
