Skip to content

Commit

Permalink
Test Improvements (#50960)
Browse files Browse the repository at this point in the history
* Test Improvements

* wip
  • Loading branch information
crynobone committed Apr 8, 2024
1 parent 7ba6047 commit 7abab3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/Foundation/Console/AboutCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ class AboutCommandTest extends TestCase
{
public function testItCanDisplayAboutCommandAsJson()
{
$process = remote('about --json')->mustRun();
$process = remote('about --json', ['APP_ENV' => 'local'])->mustRun();

tap(json_decode($process->getOutput(), true), function ($output) {
Assert::assertArraySubset([
'application_name' => 'Laravel',
'php_version' => PHP_VERSION,
'environment' => 'testing',
'environment' => 'local',
'debug_mode' => true,
'url' => 'localhost',
'maintenance_mode' => false,
Expand Down

0 comments on commit 7abab3a

Please sign in to comment.