Skip to content

Commit

Permalink
Backup server arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 14, 2023
1 parent 873456b commit 2b2e655
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ public function testProviderRegistersLogo()

public function testProviderRegistersNoAnsiLogo()
{
$serverBackup = $_SERVER;

$_SERVER['argv'] = ['--no-ansi'];

$this->assertSame('HydePHP', ConsoleServiceProviderTestClass::logo());

$_SERVER = $serverBackup;
}
}

Expand Down

0 comments on commit 2b2e655

Please sign in to comment.