Removed ob_end_clean when using ob_get_clean.

This commit is contained in:
Simon Sessingø
2021-03-21 15:22:35 +01:00
parent 8254c5b100
commit 0aeefa1cba
2 changed files with 1 additions and 3 deletions

View File

@@ -35,8 +35,7 @@ class TestRouter extends \Pecee\SimpleRouter\SimpleRouter
// Route request
ob_start();
static::debug($testUrl, $testMethod, $reset);
$response = ob_get_contents();
ob_end_clean();
$response = ob_get_clean();
// Return response
return $response;