Skip to content

Commit

Permalink
Refactor test case
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Feb 1, 2024
1 parent 9592623 commit 1ca8061
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tests/Unit/PSR7WorkerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@ public function testHttpWorkerIsAvailable(): void
$psrFactory,
);

ob_end_clean();

self::assertInstanceOf(HttpWorker::class, $psrWorker->getHttpWorker());
}

protected function tearDown(): void
{
// Clean all extra output buffers
$level = \ob_get_level();
while (--$level > 0) {
\ob_end_clean();
}

parent::tearDown(); // TODO: Change the autogenerated stub
}
}

0 comments on commit 1ca8061

Please sign in to comment.