aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
Diffstat (limited to 'engine/tests')
-rw-r--r--engine/tests/suite.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/tests/suite.php b/engine/tests/suite.php
index 1f7886d38..8f2eb41a3 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