[web/test] Fix reset of loaded JS/CSS files
Name changed in commit ede740bd7077.
Related to #5533303.
--- a/web/test/jstests/test_ajax.js Wed May 13 16:27:46 2015 +0200
+++ b/web/test/jstests/test_ajax.js Wed May 13 16:30:57 2015 +0200
@@ -7,8 +7,8 @@
// re-initialize cw loaded cache so that each tests run in a
// clean environment, have a lookt at _loadAjaxHtmlHead implementation
// in cubicweb.ajax.js for more information.
- cw.loaded_src = [];
- cw.loaded_href = [];
+ cw.loaded_scripts = [];
+ cw.loaded_links = [];
},
teardown: function() {
$('head script[src]:gt(' + this.scriptsLength + ')').remove();