Fix and update phpunit

This commit is contained in:
Sergio 2020-09-01 17:22:16 +02:00
parent d042a3b84a
commit 619d192d14
2 changed files with 8 additions and 10 deletions

View file

@ -12,7 +12,6 @@ use DI\Bridge\Slim\Bridge;
use DI\ContainerBuilder;
use function DI\factory;
use function DI\get;
use function DI\value;
use Psr\Container\ContainerInterface as Container;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Server\RequestHandlerInterface as RequestHandler;

View file

@ -9,19 +9,18 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true">
<testsuites>
<testsuite name="Tests">
<testsuite name="Feature">
<directory suffix="Test.php">tests/Feature</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
<exclude>
<directory>bin</directory>
<directory>docs</directory>
<directory>resources</directory>
<directory>vendor</directory>
</exclude>
<directory suffix=".php">app</directory>
</whitelist>
</filter>
</phpunit>
<logging>
<log type="coverage-html" target="./coverage"
lowUpperBound="70"
highLowerBound="90"/>
</logging>
</phpunit>