diff --git a/app/phpunit.xml.dist b/app/phpunit.xml.dist deleted file mode 100644 index 239bd9d..0000000 --- a/app/phpunit.xml.dist +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - ../src/*/*Bundle/Tests - ../src/*/Bundle/*Bundle/Tests - ../src/*Bundle/Tests - - - - - - ../src - - ../src/*Bundle/Resources - ../src/*Bundle/Tests - ../src/*/*Bundle/Resources - ../src/*/*Bundle/Tests - ../src/*/Bundle/*Bundle/Resources - ../src/*/Bundle/*Bundle/Tests - - - - \ No newline at end of file diff --git a/composer.json b/composer.json index 5e070ef..0afce1a 100644 --- a/composer.json +++ b/composer.json @@ -7,6 +7,9 @@ "psr-4": { "": "src/" }, "classmap": [ "app/AppKernel.php", "app/AppCache.php" ] }, + "autoload-dev": { + "psr-4": { "Tests\\": "tests/" } + }, "require": { "php": ">=7.0.0", "symfony/symfony": "3.2.*", diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 0000000..c6063bb --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,31 @@ + + + + + + + + + + + + tests + + + + + + src + + src/*Bundle/Resources + src/*/*Bundle/Resources + src/*/Bundle/*Bundle/Resources + + + + \ No newline at end of file diff --git a/src/Skobkin/Bundle/PointToolsBundle/Tests/Controller/EventsControllerTest.php b/tests/Skobkin/PointToolsBundle/Controller/EventsControllerTest.php similarity index 92% rename from src/Skobkin/Bundle/PointToolsBundle/Tests/Controller/EventsControllerTest.php rename to tests/Skobkin/PointToolsBundle/Controller/EventsControllerTest.php index 71910eb..2dc8e32 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Tests/Controller/EventsControllerTest.php +++ b/tests/Skobkin/PointToolsBundle/Controller/EventsControllerTest.php @@ -1,6 +1,6 @@