diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 8eb30571e7..457b9622d5 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -206,7 +206,7 @@ return array( 'rsrc/externals/javelin/lib/__tests__/Cookie.js' => '5ed109e8', 'rsrc/externals/javelin/lib/__tests__/DOM.js' => 'c984504b', 'rsrc/externals/javelin/lib/__tests__/JSON.js' => '837a7d68', - 'rsrc/externals/javelin/lib/__tests__/URI.js' => '31d49fa0', + 'rsrc/externals/javelin/lib/__tests__/URI.js' => '1e45fda9', 'rsrc/externals/javelin/lib/__tests__/behavior.js' => '1ea62783', 'rsrc/externals/javelin/lib/behavior.js' => '61cbc29a', 'rsrc/externals/javelin/lib/control/tokenizer/Tokenizer.js' => '7644823e', diff --git a/webroot/rsrc/externals/javelin/lib/__tests__/URI.js b/webroot/rsrc/externals/javelin/lib/__tests__/URI.js index 382ba3ca7e..17ab735752 100644 --- a/webroot/rsrc/externals/javelin/lib/__tests__/URI.js +++ b/webroot/rsrc/externals/javelin/lib/__tests__/URI.js @@ -284,9 +284,8 @@ describe('Javelin URI', function() { }); it('no global state interference', function() { - var uri1 = JX.$U('/?key=value'); - var uri2 = JX.$U(); - expect(uri2.getQueryParams()).not.toEqual({'key' : 'value'}); + var uri = JX.$U(); + expect(uri.getQueryParams()).not.toEqual({'key' : 'value'}); }); it('should not loop indefinitely when parsing empty params', function() {