From e21dd8c256229444c1a088f4043726f5f039597b Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Thu, 4 Nov 2021 19:07:55 -0400 Subject: [PATCH] ui: fix tests broken by d3-format upgrade --- .../integration/components/das/recommendation-card-test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/tests/integration/components/das/recommendation-card-test.js b/ui/tests/integration/components/das/recommendation-card-test.js index 331d01b97..c0d0f956f 100644 --- a/ui/tests/integration/components/das/recommendation-card-test.js +++ b/ui/tests/integration/components/das/recommendation-card-test.js @@ -113,9 +113,10 @@ module('Integration | Component | das/recommendation-card', function(hooks) { assert.ok(RecommendedMemory.isIncrease); }); - assert.equal(RecommendationCard.totalsTable.unitDiff.cpu, '−75 MHz'); + assert.equal(RecommendationCard.totalsTable.unitDiff.cpu, '-75 MHz'); assert.equal(RecommendationCard.totalsTable.unitDiff.memory, '+128 MiB'); + // Expected signal has a minus character, not a hyphen. assert.equal(RecommendationCard.totalsTable.percentDiff.cpu, '−27%'); assert.equal(RecommendationCard.totalsTable.percentDiff.memory, '+33%');