D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
t
/
a
/
t
/
tattooscyy
/
api
/
vendor
/
phpunit
/
phpunit
/
tests
/
end-to-end
/
regression
/
GitHub
/
Filename :
2731.phpt
back
Copy
--TEST-- GH-2731: Empty exception message cannot be expected --FILE-- <?php declare(strict_types=1); $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = 'Issue2731Test'; $_SERVER['argv'][3] = __DIR__ . '/2731/Issue2731Test.php'; require __DIR__ . '/../../../bootstrap.php'; PHPUnit\TextUI\Command::main(); --EXPECTF-- PHPUnit %s by Sebastian Bergmann and contributors. F 1 / 1 (100%) Time: %s, Memory: %s There was 1 failure: 1) Issue2731Test::testOne Failed asserting that exception message is empty but is 'message'. FAILURES! Tests: 1, Assertions: 2, Failures: 1.