From 4842472dbcbdd1fb04297f9b419518e881da21bf Mon Sep 17 00:00:00 2001 From: Bradley Date: Thu, 8 Aug 2024 17:09:43 +0100 Subject: [PATCH] Remove config test file --- tests/Config/ConfigurationTest.php | 45 ------------------------------ 1 file changed, 45 deletions(-) delete mode 100644 tests/Config/ConfigurationTest.php diff --git a/tests/Config/ConfigurationTest.php b/tests/Config/ConfigurationTest.php deleted file mode 100644 index c180930..0000000 --- a/tests/Config/ConfigurationTest.php +++ /dev/null @@ -1,45 +0,0 @@ -configuration = new Configuration(true); - $this->processor = new Processor(); - } - - public function testThrowsIfNameIsEmpty() - { - $config = $this->getValidConfig(); - $config['name'] = ''; - $this->expectException(\Exception::class); - $this->validateConfig($config); - } - - private function validateConfig(array $config): array - { - return $this->processor->processConfiguration($this->configuration, [$config]); - } - - private function getValidConfig(): array - { - return [ - 'name' => 'Boris', - ]; - } -} -