Skip to content

Commit

Permalink
Update test for #5164 for PHPUnit 10
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 4, 2023
1 parent 6bdbbc8 commit 2b51d37
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions tests/end-to-end/regression/5164.phpt
Expand Up @@ -4,33 +4,28 @@ https://github.com/sebastianbergmann/phpunit/issues/5164
<?php declare(strict_types=1);
$_SERVER['argv'][] = '--do-not-cache-result';
$_SERVER['argv'][] = '--no-configuration';
$_SERVER['argv'][] = '--verbose';
$_SERVER['argv'][] = '--display-skipped';
$_SERVER['argv'][] = __DIR__ . '/5164/Issue5164Test.php';

require_once __DIR__ . '/../../bootstrap.php';
PHPUnit\TextUI\Command::main();
(new PHPUnit\TextUI\Application)->run($_SERVER['argv']);
--XFAIL--
https://github.com/sebastianbergmann/phpunit/issues/5164
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

Runtime: %s

SS 2 / 2 (100%)
S

Time: %s, Memory: %s

There were 2 skipped tests:
There was 1 skipped test:

1) Issue5074Test::testOne
1) Issue5164Test
message

%sIssue5074Test.php:%d
%sIssue5164Test.php:%d

2) Issue5074Test::testTwo
message

%sIssue5074Test.php:%d

OK, but incomplete, skipped, or risky tests!
Tests: 2, Assertions: 0, Skipped: 2.
OK, but some tests were skipped!
Tests: 1, Assertions: 0, Skipped: 1.

0 comments on commit 2b51d37

Please sign in to comment.