Browse Source

Fixing UI tests (#20386)

Fixing tests as we're not calling env.var, we're using a property on the env service
pull/20397/head
Chris Hut 10 months ago committed by GitHub
parent
commit
64a46105ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      ui/packages/consul-ui/tests/integration/components/link-to-hcp-banner-test.js

5
ui/packages/consul-ui/tests/integration/components/link-to-hcp-banner-test.js

@ -100,9 +100,8 @@ module('Integration | Component | link-to-hcp-banner', function (hooks) {
this.owner.register( this.owner.register(
'service:env', 'service:env',
class Stub extends EnvStub { class Stub extends EnvStub {
stubEnv = { stubEnv = {};
isEnterprise: true, isEnterprise = true;
};
} }
); );
this.linkData = { isLinked: false }; this.linkData = { isLinked: false };

Loading…
Cancel
Save