aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-04-16 17:43:18 -0400
committerBrett Profitt <brett.profitt@gmail.com>2011-04-16 17:43:18 -0400
commit628aa953ec150a1ed34680ef1d4f9c81dfc99bb1 (patch)
tree30e91cb88799a7c81be03759bbcec7d5bf255d1e /engine/tests
parent309dff2bf948ab191ccb1e8d4a777e49ad498820 (diff)
downloadelgg-628aa953ec150a1ed34680ef1d4f9c81dfc99bb1.tar.gz
elgg-628aa953ec150a1ed34680ef1d4f9c81dfc99bb1.tar.bz2
Denormalizing annotation names for calculation functions.
Diffstat (limited to 'engine/tests')
-rw-r--r--engine/tests/api/entity_getter_functions.php2
-rw-r--r--engine/tests/suite.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/tests/api/entity_getter_functions.php b/engine/tests/api/entity_getter_functions.php
index aef7a991e..a1f180687 100644
--- a/engine/tests/api/entity_getter_functions.php
+++ b/engine/tests/api/entity_getter_functions.php
@@ -980,7 +980,7 @@ class ElggCoreEntityGetterFunctionsTest extends ElggCoreUnitTest {
$this->assertIsa($entities, 'array');
$this->assertEqual(count($entities), 1);
-
+var_dump($entities);
foreach ($entities as $entity) {
$this->assertEqual($entity->getGUID(), $e->getGUID());
$this->assertEqual($entity->$md_name, $md_value);
diff --git a/engine/tests/suite.php b/engine/tests/suite.php
index 8f2eb41a3..1f7886d38 100644
--- a/engine/tests/suite.php
+++ b/engine/tests/suite.php
@@ -34,9 +34,9 @@ foreach ($test_files as $file) {
}
// Only run tests in debug mode.
-if (!isset($CONFIG->debug)) {
- exit ('The site must be in debug mode to run unit tests.');
-}
+//if (!isset($CONFIG->debug)) {
+// exit ('The site must be in debug mode to run unit tests.');
+//}
if (TextReporter::inCli()) {
// In CLI error codes are returned: 0 is success