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 DI\ContainerBuilder;
use function DI\factory; use function DI\factory;
use function DI\get; use function DI\get;
use function DI\value;
use Psr\Container\ContainerInterface as Container; use Psr\Container\ContainerInterface as Container;
use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Server\RequestHandlerInterface as RequestHandler; use Psr\Http\Server\RequestHandlerInterface as RequestHandler;

View file

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