X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=cce9148f7edad6c62a40179e2e06e78f975f8c04;hp=1c8afd12d684a4340cd09b964a1fe42755d35a21;hb=f0a5d471eec61096a3f8287c47b0d5c7fea0f30b;hpb=b72a7f2c418c3f304802e5c1b5fa31a825cc0511 diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 1c8afd1..cce9148 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -295,6 +295,7 @@ describe("Show record", function () { debug("URL: " + urls[i].href); expect(urls[i].href).not.toBe(null); expect(urls[i].href).toMatch(/^https?:\/\/[a-z0-9]+\.[0-9a-z].*\//i); + expect(urls[i].href).toBe(urls[i].text); } }); });