Skip to content

Commit a9c5f4f

Browse files
Remove test code that unfortunately cannot work
1 parent af0e12d commit a9c5f4f

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

tests/end-to-end/migration/migration-from-85.phpt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ copy(__DIR__ . '/migration-from-85/phpunit-8.5.xml', 'phpunit.xml');
99

1010
require __DIR__ . '/../../bootstrap.php';
1111

12-
PHPUnit\TextUI\Command::main(false);
13-
14-
print file_get_contents(sys_get_temp_dir() . '/phpunit.xml');
15-
print file_get_contents(sys_get_temp_dir() . '/phpunit.xml.bak');
12+
PHPUnit\TextUI\Command::main();
1613
--EXPECTF--
1714
PHPUnit %s by Sebastian Bergmann and contributors.
1815

tests/end-to-end/migration/migration-from-92.phpt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ copy(__DIR__ . '/migration-from-92/phpunit-9.2.xml', 'phpunit.xml');
99

1010
require __DIR__ . '/../../bootstrap.php';
1111

12-
PHPUnit\TextUI\Command::main(false);
13-
14-
print file_get_contents(sys_get_temp_dir() . '/phpunit.xml');
15-
print file_get_contents(sys_get_temp_dir() . '/phpunit.xml.bak');
12+
PHPUnit\TextUI\Command::main();
1613
--EXPECTF--
1714
PHPUnit %s by Sebastian Bergmann and contributors.
1815

tests/end-to-end/migration/migration-not-needed.phpt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ copy(__DIR__ . '/migration-not-needed/phpunit.xml', 'phpunit.xml');
99

1010
require __DIR__ . '/../../bootstrap.php';
1111

12-
PHPUnit\TextUI\Command::main(false);
13-
14-
print file_get_contents(sys_get_temp_dir() . '/phpunit.xml');
15-
var_dump(file_exists(sys_get_temp_dir() . '/phpunit.xml.bak'));
12+
PHPUnit\TextUI\Command::main();
1613
--EXPECTF--
1714
PHPUnit %s by Sebastian Bergmann and contributors.
1815

0 commit comments

Comments
 (0)