Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 6, 2024
1 parent efec6d7 commit ae47111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/DefaultConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function it_populate_expected_cache_defaults()
#[Test]
public function it_populate_expected_session_defaults()
{
$this->assertEquals(Env::has('TESTBENCH_PACKAGE_TESTER') ? 'database' : 'array', $this->app['config']['session.driver']);
$this->assertEquals(Env::has('TESTBENCH_PACKAGE_TESTER') ? 'cookie' : 'array', $this->app['config']['session.driver']);
}

#[Test]
Expand Down
2 changes: 1 addition & 1 deletion tests/Foundation/EnvTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function it_can_correctly_forward_env_values()
$_ENV['TESTING_FALSE_EXAMPLE'] = false;
$_ENV['TESTING_EMPTY_EXAMPLE'] = '';

$this->assertSame(Env::has('TESTBENCH_PACKAGE_TESTER') ? 'AckfSECXIvnK5r28GVIWUAxmbBSjTsmF': false, Env::forward('APP_KEY'));
$this->assertSame(Env::has('TESTBENCH_PACKAGE_TESTER') ? 'AckfSECXIvnK5r28GVIWUAxmbBSjTsmF' : false, Env::forward('APP_KEY'));
$this->assertFalse(Env::forward('ASSET_URL'));
$this->assertSame('(null)', Env::forward('ASSET_URL', null));
$this->assertSame(Env::has('TESTBENCH_PACKAGE_TESTER') ? '(null)' : false, Env::forward('LOG_DEPRECATIONS_CHANNEL'));
Expand Down

0 comments on commit ae47111

Please sign in to comment.