aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-05-30 21:04:09 -0400
committercash <cash.costello@gmail.com>2013-05-30 21:04:09 -0400
commitbbf99434e13ebf304fb15a8c5b9d70c621f38c86 (patch)
treea3163ae4df9c24f00fda3ac118826dbce3545516 /engine/tests
parenta9709da4bd45ea04944d93e0d472aa4ee801e0f5 (diff)
downloadelgg-bbf99434e13ebf304fb15a8c5b9d70c621f38c86.tar.gz
elgg-bbf99434e13ebf304fb15a8c5b9d70c621f38c86.tar.bz2
Fixes #5564 count works with elgg_get_entities_from_annotation_calculation()
Diffstat (limited to 'engine/tests')
-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 7bf8ef04a..0492b1fb0 100644
--- a/engine/tests/api/entity_getter_functions.php
+++ b/engine/tests/api/entity_getter_functions.php
@@ -2755,7 +2755,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest {
'calculation' => 'count',
'count' => true,
);
- $count = (int)elgg_get_entities_from_annotation_calculation($options);
+ $count = elgg_get_entities_from_annotation_calculation($options);
$this->assertEqual(1, $count);
}