diff --git a/composer.json b/composer.json index 3f778eb..4540bd9 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ }, "autoload-dev": { "psr-4": { - "Tests\\Integration\\": "tests/integration/src" + "Tests\\Unit\\": "tests/unit/src" } } } diff --git a/tests/integration/_bootstrap.php b/tests/integration/_bootstrap.php deleted file mode 100644 index 8b81a72..0000000 --- a/tests/integration/_bootstrap.php +++ /dev/null @@ -1,5 +0,0 @@ -setTempDirectory(TEMP_DIR); - $config->addConfig(__DIR__.'/../config/config.neon'); - $container = $config->createContainer(); - - $this->factory = $container->getByType(FormFactoryInterface::class); + $this->factory = Forms::createFormFactoryBuilder()->getFormFactory(); } public function testSetData() diff --git a/tests/integration/src/FileValidatorTest.php b/tests/unit/src/FileValidatorTest.php similarity index 99% rename from tests/integration/src/FileValidatorTest.php rename to tests/unit/src/FileValidatorTest.php index cde72c4..2b92388 100644 --- a/tests/integration/src/FileValidatorTest.php +++ b/tests/unit/src/FileValidatorTest.php @@ -1,6 +1,6 @@