diff options
author | cash <cash.costello@gmail.com> | 2011-11-18 17:53:29 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-18 17:53:29 -0500 |
commit | c872edbb476cf0a0c742c6e7a987096e15464f00 (patch) | |
tree | fe393a912d12b534a02a5d252384cf852f503897 /engine | |
parent | 30630b3a25e37430d966af6e6af933b7d000ab1a (diff) | |
download | elgg-c872edbb476cf0a0c742c6e7a987096e15464f00.tar.gz elgg-c872edbb476cf0a0c742c6e7a987096e15464f00.tar.bz2 |
Fixes #4126 fixed test for checking relationship existence
Diffstat (limited to 'engine')
-rw-r--r-- | engine/tests/api/entity_getter_functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/tests/api/entity_getter_functions.php b/engine/tests/api/entity_getter_functions.php index 7b977da61..9db248de9 100644 --- a/engine/tests/api/entity_getter_functions.php +++ b/engine/tests/api/entity_getter_functions.php @@ -2597,7 +2597,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest { foreach ($fan_entities as $fan_entity) { $this->assertTrue(in_array($fan_entity->guid, $relationships[$e->guid])); - $this->assertTrue(check_entity_relationship($fan_entity->guid, $relationship_name, $e->guid)); + $this->assertNotIdentical(false, check_entity_relationship($fan_entity->guid, $relationship_name, $e->guid)); } } } |