aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-02-02 18:31:12 -0800
committerSteve Clay <steve@mrclay.org>2013-02-02 18:31:12 -0800
commit2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c (patch)
tree26fff564142315496f9956f40daebe056d812794 /engine/tests
parentb809dee488be374f248763741a5e1429219fe988 (diff)
parentf8bee7421d1c3880ba7acb3f8fd16042d598a95f (diff)
downloadelgg-2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c.tar.gz
elgg-2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c.tar.bz2
Merge pull request #398 from jeabakker/#4880
#4880 - incorrect usage of elgg_get_entities_* parameters
Diffstat (limited to 'engine/tests')
-rw-r--r--engine/tests/api/entity_getter_functions.php6
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 9db248de9..6f7a6145e 100644
--- a/engine/tests/api/entity_getter_functions.php
+++ b/engine/tests/api/entity_getter_functions.php
@@ -426,7 +426,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest {
$options = array(
'types' => $types,
- 'subtypes' => $subtype
+ 'subtype' => $subtype
);
$es = elgg_get_entities($options);
@@ -2648,7 +2648,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest {
$name = 'test_annotation_' . rand(0, 9999);
$values = array();
$options = array(
- 'types' => 'object',
+ 'type' => 'object',
'subtypes' => $subtypes,
'limit' => 5
);
@@ -2687,7 +2687,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest {
$order = array_keys($values);
$options = array(
- 'types' => 'object',
+ 'type' => 'object',
'subtypes' => $subtypes,
'limit' => 5,
'annotation_name' => $name,