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 () {