allow HTTPS based MKWS URLs, MKWS-102
[mkws-moved-to-github.git] / test / spec / mkws-config.js
index 6ec792d..19eff66 100644 (file)
@@ -31,7 +31,7 @@ describe("Check mkws_config object", function () {
 
 describe("Check pazpar2 config", function () {
     it("pazpar2path is a path or an full URL", function () {
-        expect(mkws_config.pazpar2_url).toMatch(/^(\/|http:\/\/)/)
+        expect(mkws_config.pazpar2_url).toMatch(/^(\/|https?:\/\/)/)
     });
 
     it("Check usesessions true/false", function () {