Skip to content

Commit a1c2a25

Browse files
authored
Merge pull request #56922 from nextcloud/fix-phpunit-11-use-in-behat
test: Fix PHPUnit 11 use in Behat
2 parents 58437de + 19c9d88 commit a1c2a25

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build/integration/features/bootstrap/BasicStructure.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,13 @@ public function sleepForSeconds($seconds) {
475475
sleep((int)$seconds);
476476
}
477477

478+
/**
479+
* @BeforeSuite
480+
*/
481+
public static function createPHPUnitConfiguration(): void {
482+
(new \PHPUnit\TextUI\Configuration\Builder())->build([]);
483+
}
484+
478485
/**
479486
* @BeforeSuite
480487
*/

0 commit comments

Comments
 (0)