From 5af7e86ef4ac24fd3e63260938ed507305e39e3d Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Tue, 7 May 2019 20:43:27 +0100 Subject: [PATCH] Fix findIssues test for dynamic issue messages --- test/spec/services/maprules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/spec/services/maprules.js b/test/spec/services/maprules.js index ec01a2f9b..4e27774b6 100644 --- a/test/spec/services/maprules.js +++ b/test/spec/services/maprules.js @@ -562,10 +562,10 @@ describe('maprules', function() { expect(issues.length).to.eql(1); expect(issue.entityIds).to.eql([entity.id]); - expect(issue.message).to.eql(selector[type]); + expect(issue.message()).to.eql(selector[type]); expect(type).to.eql(issue.severity); }); }); }); }); -}); +}); \ No newline at end of file