From 3bc1ad13832b065a6323ce2dbd22a90bf3dd3c5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Mon, 18 Mar 2024 16:40:17 +0100
Subject: [PATCH] FIX: test for back references

---
 test/core/js/modules/entity.xsl.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/core/js/modules/entity.xsl.js b/test/core/js/modules/entity.xsl.js
index feb54362..7604d38c 100644
--- a/test/core/js/modules/entity.xsl.js
+++ b/test/core/js/modules/entity.xsl.js
@@ -108,7 +108,7 @@ QUnit.test("back references", function(assert) {
     var link = xslt(xml, xsl).firstChild;
 
     assert.equal(link.tagName, "A", "is a link");
-    assert.equal(link.getAttribute("href"), "/entitypath/?P=0L10&query=FIND+Entity+which+references+265", "query correct.");
+    assert.equal(link.getAttribute("href"), "/entitypath/?P=0L10&query=FIND+Entity+which+references+%22265%22", "query correct.");
 });
 
 QUnit.test("Entities have a caosdb-annotation-section", function(assert) {
-- 
GitLab