Fix test-suite's debug() function to use mkws.debug()
[mkws-moved-to-github.git] / test / spec / mkws-pazpar2.js
index 7900190..4af6125 100644 (file)
@@ -6,7 +6,7 @@
 
 // get references from mkws.js, lazy evaluation
 var debug = function (text) {
-        mkws.debug_function(text)
+        mkws.debug(text)
     }
 
     // Define empty mkws_config for simple applications that don't define it.
@@ -247,7 +247,7 @@ describe("Check Termlist", function () {
         var hits_all_targets = get_hit_counter();
         var source_number = 2; // 2=first source
         // do not click on wikipedia link - no author or subject facets possible
-        var terms = $("div#mkwsFacetSources div.term a");
+        var terms = $("div.mkwsFacetSources div.term a");
         for (var i = 0; i < terms.length; i++) {
             var term = $(terms[i]).text();
             if (term.match(/wikipedia/i)) {