From 127a45a4ab38a4b9568602aeaa5bb46202790485 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Thu, 21 Jun 2018 11:06:45 +0100 Subject: [PATCH] Fix up following rebase, use array of strings rather than its own func --- ui-v2/tests/helpers/type-to-url.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui-v2/tests/helpers/type-to-url.js b/ui-v2/tests/helpers/type-to-url.js index 0b2c8f5822..470a5f2915 100644 --- a/ui-v2/tests/helpers/type-to-url.js +++ b/ui-v2/tests/helpers/type-to-url.js @@ -17,9 +17,7 @@ export default function(type) { url = ['/v1/acl/list']; break; case 'session': - url = function(url) { - return url.indexOf('/v1/session/node/') === 0; - }; + url = ['/v1/session/node/']; break; } return function(actual) {