[web/test] Fix reset of loaded JS/CSS files
authorRémi Cardona <remi.cardona@logilab.fr>
Wed, 13 May 2015 16:30:57 +0200
changeset 10416 6e5e1617e1cd
parent 10415 78d8a49a46b6
child 10417 59bf206996c8
[web/test] Fix reset of loaded JS/CSS files Name changed in commit ede740bd7077. Related to #5533303.
web/test/jstests/test_ajax.js
--- 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();