aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 21:32:11 -0500
committercash <cash.costello@gmail.com>2011-11-18 21:32:11 -0500
commit0aacda8b1fa77999f4e00d73e9fd1c416d75f920 (patch)
tree1900983ac5c0672a8a99cf9a68db9fc80a5420fa /engine
parentaf8415b62ef7eede3666e6a050b5f1e292d7d54e (diff)
downloadelgg-0aacda8b1fa77999f4e00d73e9fd1c416d75f920.tar.gz
elgg-0aacda8b1fa77999f4e00d73e9fd1c416d75f920.tar.bz2
Fixes #4128 better test of null passed to registering external files
Diffstat (limited to 'engine')
-rw-r--r--engine/tests/api/helpers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/tests/api/helpers.php b/engine/tests/api/helpers.php
index 8896fc33f..77205138d 100644
--- a/engine/tests/api/helpers.php
+++ b/engine/tests/api/helpers.php
@@ -127,7 +127,7 @@ class ElggCoreHelpersTest extends ElggCoreUnitTest {
$this->assertIdentical('http://test1.com', $item->url);
// send a bad url
- $result = @elgg_register_js('bad');
+ $result = elgg_register_js('bad', null);
$this->assertFalse($result);
}