X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=2dab391abc300d6d4ca9c2ece32ad360651dec84;hp=361415216afc7ea52c185a0e27ee136ac5bc21d7;hb=016f2007ab90d0f3d0a8bcb552b7a8b1607081de;hpb=d7fb47f1750f9f75010428c9bb45a56c49c3e23e diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index 3614152..2dab391 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -96,7 +96,7 @@ describe("Check MOTD before search", function () { describe("Check pazpar2 search", function () { it("pazpar2 was successfully initialized", function () { - expect(mkws_config.error).toBe(undefined); + expect(mkws.config.error).toBe(undefined); }); it("validate HTML id's", function () { @@ -113,7 +113,7 @@ describe("Check pazpar2 search", function () { debug("set search query: " + search_query) expect($("input.mkwsQuery").val()).toMatch("^" + search_query + "$"); - if (mkws_config.use_service_proxy) { + if (mkws.config.use_service_proxy) { // wait for service proxy auth waitsFor(function () { return mkws.authenticated; @@ -229,7 +229,7 @@ describe("Check Termlist", function () { }); it("limit search to first author", function () { - if (mkws_config.disable_facet_authors_search) { + if (mkws.config.disable_facet_authors_search) { debug("Facets: ignore limit search for authors"); return; }