diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-14 03:40:59 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-14 03:40:59 +0000 |
commit | c9d4cf5b0b0f5ad3056cd4d6dc744a8b4890fb4e (patch) | |
tree | 832898dc37e4678a4d77a9338cd46c4feb6bba64 /engine/tests/api/metastrings.php | |
parent | 8e065905e4172d0ccd01266c6f8e58a65803d011 (diff) | |
download | elgg-c9d4cf5b0b0f5ad3056cd4d6dc744a8b4890fb4e.tar.gz elgg-c9d4cf5b0b0f5ad3056cd4d6dc744a8b4890fb4e.tar.bz2 |
Updated trunk to use new annotation functions. Added checks for annotations_* options vs annotation_* options because it's so easy to confuse.
git-svn-id: http://code.elgg.org/elgg/trunk@8223 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/api/metastrings.php')
-rw-r--r-- | engine/tests/api/metastrings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/tests/api/metastrings.php b/engine/tests/api/metastrings.php index 9d089f804..e5cfe80e1 100644 --- a/engine/tests/api/metastrings.php +++ b/engine/tests/api/metastrings.php @@ -88,14 +88,14 @@ class ElggCoreMetastringsTest extends ElggCoreUnitTest { } } - public function testGetMetastringObjectByID() { + public function testGetMetastringObjectFromID() { $db_prefix = elgg_get_config('dbprefix'); $annotations = $this->createAnnotations(1); $metadata = $this->createMetadata(1); foreach ($this->metastringTypes as $type) { $id = ${$type}[0]; - $test = elgg_get_metastring_based_object_by_id($id, $type); + $test = elgg_get_metastring_based_object_from_id($id, $type); $this->assertEqual($id, $test->id); } |