From 1534eaf6f77ee7cd80a4bdfd04c416e2dbfc4730 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 3 Aug 2022 14:57:58 +0200 Subject: [PATCH] Fixup applink tests --- src/test/applinks-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/applinks-test.js b/src/test/applinks-test.js index 29f38d667..eae0d7a81 100644 --- a/src/test/applinks-test.js +++ b/src/test/applinks-test.js @@ -48,7 +48,7 @@ describe('Applinks', function () { expect(result[1].label).to.eql(APPLINK_1.label); expect(result[1].accessRestriction).to.eql(APPLINK_1.accessRestriction); expect(result[1].tags).to.eql(APPLINK_1.tags); - expect(result[1].icon).to.eql(APPLINK_1.icon); + expect(result[1].icon.toString()).to.eql(APPLINK_1.icon); }); it('cannot get applink with wrong id', async function () { @@ -70,7 +70,7 @@ describe('Applinks', function () { expect(result.label).to.eql(APPLINK_1.label); expect(result.accessRestriction).to.eql(APPLINK_1.accessRestriction); expect(result.tags).to.eql(APPLINK_1.tags); - expect(result.icon).to.eql(APPLINK_1.icon); + expect(result.icon.toString()).to.eql(APPLINK_1.icon); }); it('can update applink', async function () {