From 64a46105eac8f21391c783db2563f2dade2163c3 Mon Sep 17 00:00:00 2001 From: Chris Hut Date: Mon, 29 Jan 2024 13:58:15 -0800 Subject: [PATCH] Fixing UI tests (#20386) Fixing tests as we're not calling env.var, we're using a property on the env service --- .../tests/integration/components/link-to-hcp-banner-test.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/packages/consul-ui/tests/integration/components/link-to-hcp-banner-test.js b/ui/packages/consul-ui/tests/integration/components/link-to-hcp-banner-test.js index 8803cf6168..424958a0f7 100644 --- a/ui/packages/consul-ui/tests/integration/components/link-to-hcp-banner-test.js +++ b/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( 'service:env', class Stub extends EnvStub { - stubEnv = { - isEnterprise: true, - }; + stubEnv = {}; + isEnterprise = true; } ); this.linkData = { isLinked: false };