Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c73c673
commit dbe8b5f
Showing
4 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--TEST-- | ||
https://github.com/sebastianbergmann/phpunit/issues/4632 | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
|
||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = '--testdox'; | ||
$_SERVER['argv'][] = '--repeat'; | ||
$_SERVER['argv'][] = '3'; | ||
$_SERVER['argv'][] = __DIR__ . '/4632/Issue4632Test.php'; | ||
|
||
require __DIR__ . '/../../../bootstrap.php'; | ||
|
||
PHPUnit\TextUI\Command::main(); | ||
--EXPECTF-- | ||
PHPUnit %s by Sebastian Bergmann and contributors. | ||
|
||
Issue4632 (PHPUnit\TestFixture\Issue4632) | ||
✘ One | ||
│ | ||
│ Failed asserting that false is true. | ||
│ | ||
│ %s/Issue4632Test.php:18 | ||
│ | ||
|
||
✘ One | ||
│ | ||
│ Failed asserting that false is true. | ||
│ | ||
│ %s/Issue4632Test.php:18 | ||
│ | ||
|
||
✘ One | ||
│ | ||
│ Failed asserting that false is true. | ||
│ | ||
│ %s/Issue4632Test.php:18 | ||
│ | ||
|
||
Time: %s, Memory: %s | ||
|
||
|
||
FAILURES! | ||
Tests: 3, Assertions: 3, Failures: 3. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php declare(strict_types=1); | ||
/* | ||
* This file is part of PHPUnit. | ||
* | ||
* (c) Sebastian Bergmann <sebastian@phpunit.de> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
namespace PHPUnit\TestFixture; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
final class Issue4632Test extends TestCase | ||
{ | ||
public function testOne(): void | ||
{ | ||
$this->assertTrue(false); | ||
} | ||
} |