From 4c6f16a34c14be38b41d83631b9e80544d60e567 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Ranum?= Date: Thu, 8 Sep 2016 10:10:51 +0200 Subject: [PATCH] fix(checkin): test using `appMocked` not `app` --- test/acceptance/checkin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/acceptance/checkin.js b/test/acceptance/checkin.js index 4b52022..4f03560 100644 --- a/test/acceptance/checkin.js +++ b/test/acceptance/checkin.js @@ -62,7 +62,7 @@ describe('POST /steder/:sted/besok', () => { }; it('returns error for missing user auth', () => ( - app.post(url) + appMocked.post(url) .send(checkinData) .expect(401) .expect({