From e3c84414c73543a77386fec1a33d07511cc548b0 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 11 Nov 2023 22:20:31 +0100 Subject: [PATCH] Swap assertion order --- .../framework/tests/Unit/LoadConfigurationTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/framework/tests/Unit/LoadConfigurationTest.php b/packages/framework/tests/Unit/LoadConfigurationTest.php index e0a2e43e9ea..4358e8bfd6e 100644 --- a/packages/framework/tests/Unit/LoadConfigurationTest.php +++ b/packages/framework/tests/Unit/LoadConfigurationTest.php @@ -17,17 +17,17 @@ public function testItLoadsRuntimeConfiguration() { $app = new Application(getcwd()); - $loader = new LoadConfigurationTestClass(['--pretty-urls', '--no-api']); - $loader->bootstrap($app); - - $this->assertTrue(config('hyde.pretty_urls')); - $this->assertFalse(config('hyde.api_calls')); - $loader = new LoadConfigurationTestClass([]); $loader->bootstrap($app); $this->assertFalse(config('hyde.pretty_urls')); $this->assertNull(config('hyde.api_calls')); + + $loader = new LoadConfigurationTestClass(['--pretty-urls', '--no-api']); + $loader->bootstrap($app); + + $this->assertTrue(config('hyde.pretty_urls')); + $this->assertFalse(config('hyde.api_calls')); } public function testItLoadsRealtimeCompilerEnvironmentConfiguration()