Skip to content

Commit f9118d8

Browse files
committed
tests/bootstrap: don't re-declare PHPUNIT_RUN
This is already set by Nextcloud's bootstrap (and from what I've seen we require that anyways), so no need to do this on our own. This also resolves the following warnings from `make test`: Warning: Constant PHPUNIT_RUN already defined in /home/ma27/Projects/nextcloud/tests/bootstrap.php on line 7 PHP Warning: Cannot modify header information - headers already sent by (output started at /home/ma27/Projects/nextcloud/tests/bootstrap.php:7) in /home/ma27/Projects/nextcloud/lib/private/legacy/OC_Response.php on line 71 Signed-off-by: Maximilian Bosch <[email protected]>
1 parent 03cc1db commit f9118d8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* @author Julien Veyssier <[email protected]>
99
* @copyright Julien Veyssier 2019
1010
*/
11-
define('PHPUNIT_RUN', 1);
1211

1312
require_once __DIR__.'/../../../tests/bootstrap.php';
1413
require_once __DIR__.'/../../../lib/base.php';

0 commit comments

Comments
 (0)