]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
added different comment so I don't break this test again
authorCash Costello <cash.costello@gmail.com>
Fri, 6 Jul 2012 00:22:27 +0000 (20:22 -0400)
committerCash Costello <cash.costello@gmail.com>
Fri, 6 Jul 2012 00:22:27 +0000 (20:22 -0400)
engine/tests/api/metadata.php

index c63b0cbecfb211942e65e315a55e8786776b2050..9933263d105f8672c13b6135d7da644198334114 100644 (file)
@@ -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);
                }