allow HTTPS based MKWS URLs, MKWS-102
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 22 Jan 2014 12:26:54 +0000 (12:26 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 22 Jan 2014 12:26:54 +0000 (12:26 +0000)
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 () {