diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-08 21:52:34 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-08 21:52:34 -0400 |
commit | ba4bbf484d33fe24332ff63ac3b063f346a2a74c (patch) | |
tree | 5342f33dd095c43e2cc2bb6bcf635dd3d6f00820 /engine/tests/regression/trac_bugs.php | |
parent | 9acaf639b57e06178c92b8321012833c4e1fdb80 (diff) | |
download | elgg-ba4bbf484d33fe24332ff63ac3b063f346a2a74c.tar.gz elgg-ba4bbf484d33fe24332ff63ac3b063f346a2a74c.tar.bz2 |
Fixes #3942 fixed all the warnings and notices in the unit tests
Diffstat (limited to 'engine/tests/regression/trac_bugs.php')
-rw-r--r-- | engine/tests/regression/trac_bugs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/tests/regression/trac_bugs.php b/engine/tests/regression/trac_bugs.php index 23d6d1dc6..2bfc37558 100644 --- a/engine/tests/regression/trac_bugs.php +++ b/engine/tests/regression/trac_bugs.php @@ -146,9 +146,9 @@ class ElggCoreRegressionBugsTest extends ElggCoreUnitTest { } } - register_plugin_hook('container_permissions_check', 'all', 'can_write_to_container_test_hook'); + elgg_register_plugin_hook_handler('container_permissions_check', 'all', 'can_write_to_container_test_hook'); $this->assertTrue(can_write_to_container($user->guid, $object->guid)); - unregister_plugin_hook('container_permissions_check', 'all', 'can_write_to_container_test_hook'); + elgg_unregister_plugin_hook_handler('container_permissions_check', 'all', 'can_write_to_container_test_hook'); $this->assertFalse(can_write_to_container($user->guid, $group->guid)); $group->join($user); |