From fac0433557ac9556d48a9bb2421ac96ff220786d Mon Sep 17 00:00:00 2001 From: jw255 Date: Mon, 23 Apr 2018 13:54:17 +0100 Subject: fixed various tests and errors --- test/integration/protocol.routes.test.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/integration/protocol.routes.test.ts') diff --git a/test/integration/protocol.routes.test.ts b/test/integration/protocol.routes.test.ts index 77b39f0..882d680 100644 --- a/test/integration/protocol.routes.test.ts +++ b/test/integration/protocol.routes.test.ts @@ -100,11 +100,12 @@ const completeProtocol: MochaForEachInput[] = [ 'debug', 'info', 'security', - 'warning', + 'warn', 'error', 'critical', 'success', - 'failure' + 'failure', + 'verbose' ]), message: types.anything, label: optional(types.string), @@ -215,8 +216,8 @@ const completeProtocol: MochaForEachInput[] = [ }, 200], ['post', '/projects/mocky2', {}, 200], ['get', '/projects/mocky/properties', null, 200], - ['post', '/projects/mocky/files/foler/file?action=overwrite', {}, 200], - ['get', '/projects/mocky/files/foler/file', null, 200] + ['post', '/projects/mocky/files/file?overwrite=true&truncate=true', {}, 200], + ['get', '/projects/mocky/files/file', null, 200] //['get', '/projects/mocky/files_by_id/file1', null, 200] ]; -- cgit v1.2.1