diff options
author | Steve Clay <steve@mrclay.org> | 2013-02-02 18:31:12 -0800 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2013-02-02 18:31:12 -0800 |
commit | 2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c (patch) | |
tree | 26fff564142315496f9956f40daebe056d812794 /engine/tests/api | |
parent | b809dee488be374f248763741a5e1429219fe988 (diff) | |
parent | f8bee7421d1c3880ba7acb3f8fd16042d598a95f (diff) | |
download | elgg-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/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 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, |