Update the tests related to jsessionid for static resources - jsessionid is not 
manipulated anymore in .js


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/7cece56b
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/7cece56b
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/7cece56b

Branch: refs/heads/master
Commit: 7cece56b7fadb194729e12952d0346e42bc77fb0
Parents: 614e3b5
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Fri Feb 3 12:49:13 2012 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Fri Feb 3 15:21:36 2012 +0200

----------------------------------------------------------------------
 wicket-core/src/test/js/head.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/7cece56b/wicket-core/src/test/js/head.js
----------------------------------------------------------------------
diff --git a/wicket-core/src/test/js/head.js b/wicket-core/src/test/js/head.js
index 3b1794b..99c2e02 100644
--- a/wicket-core/src/test/js/head.js
+++ b/wicket-core/src/test/js/head.js
@@ -117,7 +117,8 @@ jQuery(document).ready(function() {
                // add just jsessionid=1
                Wicket.Head.addElement(script1);
 
-               ok(Wicket.Head.containsElement(script2, 'src'), 'The jsessionid 
part of the URL must be ignored.');
+               equal(true, Wicket.Head.containsElement(script1, 'src'), 'The 
jsessionid part of the URL must be ignored.');
+               equal(false, Wicket.Head.containsElement(script2, 'src'), 'The 
jsessionid part of the URL must be ignored.');
        });
 
        module('addJavascript');

Reply via email to