From 3d5a2046c43514530e19a8a71235077b22886ff7 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Fri, 3 Jul 2020 12:57:53 +0530 Subject: [PATCH] =?UTF-8?q?Fixed=C2=A0jasmin=20test=20cases=20failed=20due?= =?UTF-8?q?=20to=20last=20commit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/regression/javascript/alerts/alertify_wrapper_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/regression/javascript/alerts/alertify_wrapper_spec.js b/web/regression/javascript/alerts/alertify_wrapper_spec.js index a1f068be8..9ab76ecce 100644 --- a/web/regression/javascript/alerts/alertify_wrapper_spec.js +++ b/web/regression/javascript/alerts/alertify_wrapper_spec.js @@ -24,7 +24,7 @@ describe('alertify_wrapper', function () { expect(spyObj).toHaveBeenCalled(); expect(spyObj.calls.mostRecent().args[0]).toContain('Yay, congrats!'); - expect(spyObj.calls.mostRecent().args[0]).toContain('class="fa fa-check text-success"'); + expect(spyObj.calls.mostRecent().args[0]).toContain('class="fa fa-check"'); }); }); @@ -35,7 +35,7 @@ describe('alertify_wrapper', function () { expect(spyOrigError).toHaveBeenCalled(); expect(spyOrigError.calls.mostRecent().args[0]).toContain('bad, very bad'); - expect(spyOrigError.calls.mostRecent().args[0]).toContain('class="fa fa-exclamation-triangle text-danger"'); + expect(spyOrigError.calls.mostRecent().args[0]).toContain('class="fa fa-exclamation-triangle"'); }); });