From ddc41f49a5ce64aa1941da5d8c4af8256dfa82a7 Mon Sep 17 00:00:00 2001 From: Alan K Date: Sun, 16 Aug 2015 13:14:31 -0400 Subject: [PATCH] Fixed default provider when no query string is passed --- tests/lib/test-utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/lib/test-utils.js b/tests/lib/test-utils.js index ee6ef91..ac33937 100644 --- a/tests/lib/test-utils.js +++ b/tests/lib/test-utils.js @@ -37,6 +37,7 @@ function getUrlParams() { } function getProviderType() { + var defaultProvider = 'default'; var queryString = getUrlParams(); // If the environment is node or the query string is empty, @@ -45,7 +46,7 @@ function getProviderType() { return defaultProvider; } - return queryString['filer-provider'] || 'default'; + return queryString['filer-provider'] || defaultProvider; } function setup(callback) {