update documentation
[mkws-moved-to-github.git] / test / spec / mkws-config.js
index 6ec792d..64d9fd9 100644 (file)
@@ -31,19 +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:\/\/)/)
-    });
-
-    it("Check usesessions true/false", function () {
-        if (mkws_config.use_service_proxy) {
-            expect(mkws.usesessions).toBe(false);
-        } else {
-            expect(mkws.usesessions).toBe(true);
-        }
-    });
-
-    it("my_paz is defined", function () {
-        expect(mkws.my_paz).not.toBe(undefined);
+        expect(mkws_config.pazpar2_url).toMatch(/^(\/|https?:\/\/)/)
     });
 });