Compare commits

..

2 Commits

Author SHA1 Message Date
Steve Boyd
843640cadf
Merge e10f6f421a into aa2b8c380e 2024-10-02 05:30:35 +13:00
Guy Sartorelli
aa2b8c380e
FIX Fix NavigateCommandTest and don't try to write null (#11412) 2024-10-01 13:51:33 +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
$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
$responseCode = $response->getStatusCode();

View File

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