aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 21:32:11 -0500
committercash <cash.costello@gmail.com>2011-11-28 21:44:00 -0500
commite6cfc4662ed967469c88bd312375033c0f941bce (patch)
tree5930756fe5de445f8be13e15860b1b235676b8dc /engine/tests
parent563b7d5df5928fa4eed3f04ac4c57c82cc9a8f2e (diff)
downloadelgg-e6cfc4662ed967469c88bd312375033c0f941bce.tar.gz
elgg-e6cfc4662ed967469c88bd312375033c0f941bce.tar.bz2
Fixes #4128 better test of null passed to registering external files
Diffstat (limited to 'engine/tests')
-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);
}