Browse Source

Fixing cypress tests, removing change which was added to try and fix reverted test cases.

master
mike12345567 5 years ago
parent
commit
5638e92ab5
  1. 2
      packages/worker/src/api/controllers/system/environment.js

2
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(),
}
}

Loading…
Cancel
Save