Compare commits

..

1 Commits

Author SHA1 Message Date
Steve Boyd
75c08cc28f
Merge e10f6f421a into 27708c7ebb 2024-10-01 11:48:27 +13:00
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ class NavigateCommand extends Command
// Handle request and output resonse body // Handle request and output resonse body
$response = $app->handle($request); $response = $app->handle($request);
$output->writeln($response->getBody() ?? '', OutputInterface::OUTPUT_RAW); $output->writeln($response->getBody(), OutputInterface::OUTPUT_RAW);
// Transform HTTP status code into sensible exit code // Transform HTTP status code into sensible exit code
$responseCode = $response->getStatusCode(); $responseCode = $response->getStatusCode();

View File

@ -13,7 +13,7 @@ use Symfony\Component\Console\Output\BufferedOutput;
class NavigateCommandTest extends SapphireTest class NavigateCommandTest extends SapphireTest
{ {
protected $usesDatabase = true; protected $usesDatabase = false;
public static function provideExecute(): array public static function provideExecute(): array
{ {