From 133cdfbd10343c77ae1efab73001b971b7b86631 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Tue, 6 Sep 2022 00:38:07 +0200 Subject: [PATCH] Delete old setting test --- tests/Feature/Settings/GlobalSettingTest.php | 43 -------------------- 1 file changed, 43 deletions(-) delete mode 100644 tests/Feature/Settings/GlobalSettingTest.php diff --git a/tests/Feature/Settings/GlobalSettingTest.php b/tests/Feature/Settings/GlobalSettingTest.php deleted file mode 100644 index 5841449e..00000000 --- a/tests/Feature/Settings/GlobalSettingTest.php +++ /dev/null @@ -1,43 +0,0 @@ -withNamiSettings(); - } - - public function testItLoadsGeneralSettings(): void - { - GeneralSettings::fake([ - 'modules' => ['bill'], - ]); - $this->withoutExceptionHandling(); - $this->login()->init(); - - $response = $this->get('/setting'); - - $this->assertComponent('setting/Index', $response); - $this->assertEquals(['bill'], $this->inertia($response, 'general.modules')); - } - - public function testItGetsOptionsForModels(): void - { - $this->withoutExceptionHandling(); - $this->login()->init(); - - $response = $this->get('/setting'); - - $this->assertContains('bill', $this->inertia($response, 'options.modules')); - } -}