aboutsummaryrefslogtreecommitdiff
path: root/js/tests/ElggLibTest.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/ElggLibTest.js')
-rw-r--r--js/tests/ElggLibTest.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/ElggLibTest.js b/js/tests/ElggLibTest.js
index dda1ecd40..dd0267c5c 100644
--- a/js/tests/ElggLibTest.js
+++ b/js/tests/ElggLibTest.js
@@ -73,10 +73,10 @@ ElggLibTest.prototype.testNormalizeUrl = function() {
[
['', elgg.config.wwwroot],
- ['pg/test', elgg.config.wwwroot + 'pg/test'],
+ ['test', elgg.config.wwwroot + 'test'],
['http://google.com', 'http://google.com'],
['//example.com', '//example.com'],
- ['/pg/page', elgg.config.wwwroot + 'pg/page'],
+ ['/page', elgg.config.wwwroot + 'page'],
['mod/plugin/index.php', elgg.config.wwwroot + 'mod/plugin/index.php'],
].forEach(function(args) {
assertEquals(args[1], elgg.normalize_url(args[0]));