aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 17:53:29 -0500
committercash <cash.costello@gmail.com>2011-11-28 21:44:00 -0500
commit77452e60a96e17f56e2bf7e88922d44f1fd7ef37 (patch)
treef8647ce513700f56b5bcce2d96782ebadfa782a9
parent90baebb659b3e47dac24da969e232ff0cef94a1b (diff)
downloadelgg-77452e60a96e17f56e2bf7e88922d44f1fd7ef37.tar.gz
elgg-77452e60a96e17f56e2bf7e88922d44f1fd7ef37.tar.bz2
Fixes #4126 fixed test for checking relationship existence
-rw-r--r--engine/tests/api/entity_getter_functions.php2
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));
}
}
}