diff options
Diffstat (limited to 'engine/tests')
-rw-r--r-- | engine/tests/api/entity_getter_functions.php | 2 | ||||
-rw-r--r-- | engine/tests/suite.php | 6 |
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 |