summaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-31 22:05:06 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-05 16:44:02 +0100
commit77369d8164dfcd958cc2192dd8c86bfc15310cfd (patch)
treea58b93c84a05488a922c74c19114539ba7c5692b /tests/bootstrap.php
parent86f4126d2c83a4f796ece79c0eecdec854b31138 (diff)
downloadnextcloud-server-77369d8164dfcd958cc2192dd8c86bfc15310cfd.tar.gz
nextcloud-server-77369d8164dfcd958cc2192dd8c86bfc15310cfd.zip
disable error handler while running phpunit
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index b97161ee6e4..fb667263e45 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -2,6 +2,9 @@
global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true;
+
+define('PHPUNIT_RUN', 1);
+
require_once __DIR__.'/../lib/base.php';
if(!class_exists('PHPUnit_Framework_TestCase')) {