diff options
author | cash <cash.costello@gmail.com> | 2011-11-18 17:39:55 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-28 21:43:59 -0500 |
commit | ed1f8a1735560a7299f0a517af02b4d420034ee2 (patch) | |
tree | f32588c3a4338be204a6d3997c19812efd84cf93 /engine | |
parent | 4a624236e1ae5bf7839d7262221f519a58f42e24 (diff) | |
download | elgg-ed1f8a1735560a7299f0a517af02b4d420034ee2.tar.gz elgg-ed1f8a1735560a7299f0a517af02b4d420034ee2.tar.bz2 |
Fixes #4125 checking count correctly
Diffstat (limited to 'engine')
-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); |