From 530178dc89b86683d944ad0485e60da380e6c481 Mon Sep 17 00:00:00 2001 From: peter279k Date: Tue, 24 Nov 2020 02:59:59 +0800 Subject: [PATCH] Test enhancement --- composer.json | 12 ++++++++---- phpunit.xml.dist | 14 +++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index 7f922cf..e7fb3ef 100644 --- a/composer.json +++ b/composer.json @@ -13,12 +13,16 @@ }, "require-dev": { "internations/kodierungsregelwerksammlung": "^0.35.0", - "phpunit/phpunit": "~6" + "phpunit/phpunit": "~7" }, "autoload": { - "psr-0": { - "InterNations\\Component\\Solr\\Util": "src/", - "InterNations\\Component\\Solr\\ExpressionInterface": "src/" + "psr-4": { + "InterNations\\Component\\Solr\\": "src/InterNations/Component/Solr/" + } + }, + "autoload-dev": { + "psr-4": { + "InterNations\\Component\\Solr\\Tests\\": "tests/InterNations/Component/Solr/" } }, "extra": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 07b7560..7f8fde6 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -3,9 +3,7 @@ convertErrorsToExceptions="true" convertWarningsToExceptions="true" convertNoticesToExceptions="true" - mapTestClassNameToCoveredClassName="true" bootstrap="vendor/autoload.php" - strict="true" verbose="true" colors="true" timeoutForLargeTests="100"> @@ -17,18 +15,16 @@ - - + - - vendor/ - tests/ - + + src +