From 2c495a93823b846adbbe32f9faeee2f5ad514d8d 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 0b2c8f582..470a5f291 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) {