Browse Source

define PHPUNIT constant only if not already set

tags/1.1.22
Morris Jobke 4 years ago
parent
commit
22dcb6e2e4
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      tests/bootstrap.php

+ 3
- 1
tests/bootstrap.php View File

@@ -3,7 +3,9 @@
global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true;

define('PHPUNIT_RUN', 1);
if (!defined('PHPUNIT_RUN')) {
define('PHPUNIT_RUN', 1);
}

require_once __DIR__.'/../../../lib/base.php';


Loading…
Cancel
Save