From e6bedbd47f1989750940256f510c0616f9cf9178 Mon Sep 17 00:00:00 2001 From: Robert Snedeker Date: Sat, 1 Jul 2023 00:48:07 -0400 Subject: [PATCH] csf part 2 --- tests/TestEnv.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestEnv.php b/tests/TestEnv.php index c2026a4..19f32f0 100644 --- a/tests/TestEnv.php +++ b/tests/TestEnv.php @@ -56,7 +56,7 @@ public function testCreatingWithBrokenName(): void public function testCreatingFromFile(): void { Env::destroy(); - Env::createFromFile(__DIR__.'/.test.env'); + Env::createFromFile(__DIR__ . '/.test.env'); $this->assertSame('root', Env::get()->USERNAME); $this->assertSame('123456', Env::get()->PASSWORD); @@ -68,13 +68,13 @@ public function testCreatingFromNonExistingFile(): void { Env::destroy(); $this->expectException(Exception::class); - Env::createFromFile(__DIR__.'/.non-existing.env'); + Env::createFromFile(__DIR__ . '/.non-existing.env'); } public function testDebugInfo(): void { Env::destroy(); - $env = Env::createFromFile(__DIR__.'/.test.env'); + $env = Env::createFromFile(__DIR__ . '/.test.env'); $props = [ 'USERNAME' => 'root', @@ -89,7 +89,7 @@ public function testDebugInfo(): void public function testArrayAccess(): void { Env::destroy(); - $env = Env::createFromFile(__DIR__.'/.test.env'); + $env = Env::createFromFile(__DIR__ . '/.test.env'); $env['TEST'] = 10; $this->assertSame('root', $env['USERNAME']);