Skip to content

Commit

Permalink
Tests: repair coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Feb 25, 2023
1 parent ebd8d4c commit 77b6e8d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/cases/TracyMiddleware.exception.phpt
Expand Up @@ -5,7 +5,6 @@
*
* @exitCode 255
* @httpCode 500
* @outputMatch %A?%OK!
*/

use Contributte\Middlewares\TracyMiddleware;
Expand Down Expand Up @@ -34,7 +33,6 @@ test(function (): void {
Assert::match('%a%Error: Call to undefined function missing_function() in %a%', file_get_contents(Debugger::$logDirectory . '/exception.log'));
Assert::true(is_file(Debugger::$logDirectory . '/email-sent'));
Assert::count(1, MemoryMailer::$mails);
echo 'OK!'; // prevents PHP bug #62725
});

$middleware(Psr7ServerRequestFactory::fromSuperGlobal(), Psr7ResponseFactory::fromGlobal(), function (ServerRequestInterface $psr7Request, ResponseInterface $psr7Response): void {
Expand Down

0 comments on commit 77b6e8d

Please sign in to comment.