aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/api/metadata.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-05 20:22:27 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-05 20:22:27 -0400
commit511f23d66219a7a92f12f61f5cc725a6861808fd (patch)
treef137f3e9328d63a1abacf29fcb3bb4549c7e2e32 /engine/tests/api/metadata.php
parent2755f1cd44de70d32833d95aae9a761c80666687 (diff)
downloadelgg-511f23d66219a7a92f12f61f5cc725a6861808fd.tar.gz
elgg-511f23d66219a7a92f12f61f5cc725a6861808fd.tar.bz2
added different comment so I don't break this test again
Diffstat (limited to 'engine/tests/api/metadata.php')
-rw-r--r--engine/tests/api/metadata.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/tests/api/metadata.php b/engine/tests/api/metadata.php
index c63b0cbec..9933263d1 100644
--- a/engine/tests/api/metadata.php
+++ b/engine/tests/api/metadata.php
@@ -28,7 +28,8 @@ class ElggCoreMetadataAPITest extends ElggCoreUnitTest {
public function testGetMetastringById() {
foreach (array('metaUnitTest', 'metaunittest', 'METAUNITTEST') as $string) {
- // in case previous tests failed to cleanup after themselves
+ // since there is no guarantee that metastrings are garbage collected
+ // between unit test runs, we delete before testing
$this->delete_metastrings($string);
$this->create_metastring($string);
}