diff options
author | cash <cash.costello@gmail.com> | 2011-11-18 17:39:55 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-18 17:39:55 -0500 |
commit | afba00a6f029366be6ce0972042832dd3b9adaf8 (patch) | |
tree | dfea89864917a9bd2f3ca6145d067caf42a841f4 /engine/tests/api | |
parent | 3a9198cc650ce3d55fa6227de21b63d327c4e62f (diff) | |
download | elgg-afba00a6f029366be6ce0972042832dd3b9adaf8.tar.gz elgg-afba00a6f029366be6ce0972042832dd3b9adaf8.tar.bz2 |
Fixes #4125 checking count correctly
Diffstat (limited to 'engine/tests/api')
-rw-r--r-- | engine/tests/api/entity_getter_functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/tests/api/entity_getter_functions.php b/engine/tests/api/entity_getter_functions.php index a548a8e52..7b977da61 100644 --- a/engine/tests/api/entity_getter_functions.php +++ b/engine/tests/api/entity_getter_functions.php @@ -2102,7 +2102,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest { $es = elgg_get_entities_from_relationship($options); $this->assertTrue(is_array($es)); - $this->assertTrue(count($es), 1); + $this->assertIdentical(count($es), 1); foreach ($es as $e) { $this->assertEqual($guids[1], $e->guid); @@ -2134,7 +2134,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest { $es = elgg_get_entities_from_relationship($options); $this->assertTrue(is_array($es)); - $this->assertTrue(count($es), 1); + $this->assertIdentical(count($es), 1); foreach ($es as $e) { $this->assertEqual($guids[1], $e->guid); @@ -2170,7 +2170,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest { $es = elgg_get_entities_from_relationship($options); $this->assertTrue(is_array($es)); - $this->assertTrue(count($es), 1); + $this->assertIdentical(count($es), 1); foreach ($es as $e) { $this->assertEqual($guids[1], $e->guid); |