From 5638e92ab50edb48fa08fda0cda6be7fec5a3ff2 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 20 Jan 2022 12:26:59 +0000 Subject: [PATCH] Fixing cypress tests, removing change which was added to try and fix reverted test cases. --- packages/worker/src/api/controllers/system/environment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/api/controllers/system/environment.js b/packages/worker/src/api/controllers/system/environment.js index 4edf1ff8d3..609c3e83c5 100644 --- a/packages/worker/src/api/controllers/system/environment.js +++ b/packages/worker/src/api/controllers/system/environment.js @@ -7,6 +7,6 @@ exports.fetch = async ctx => { accountPortalUrl: env.ACCOUNT_PORTAL_URL, disableAccountPortal: env.DISABLE_ACCOUNT_PORTAL, // in test need to pretend its in production for the UI (Cypress) - isDev: env.isDev() && !env.isTest(), + isDev: env.isDev(), } }