From c61d70abf1bd0d7a791a7d8bb2ad2460c46443be Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 15 Sep 2022 14:13:18 +0100 Subject: [PATCH] Removes possibility of tests being risky --- phpunit.xml | 2 +- tests/.snapshots/success.txt | 5 ++++- tests/Playground.php | 2 +- tests/Visual/junit.html | 0 4 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 tests/Visual/junit.html diff --git a/phpunit.xml b/phpunit.xml index f17efc3c..2811352b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -7,7 +7,7 @@ bootstrap="vendor/autoload.php" cacheResult="false" colors="true" - failOnRisky="false" + failOnRisky="true" failOnWarning="true" processIsolation="false" stopOnError="false" diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 27f5f62a..2f7120ba 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -692,6 +692,9 @@ ✓ custom traits can be used ✓ trait applied in this file + PASS Tests\Playground + ✓ basic + PASS Tests\Plugins\Traits ✓ it allows global uses ✓ it allows multiple global uses registered in the same path @@ -767,5 +770,5 @@ WARN Tests\Visual\TeamCity - it is can successfully call all public methods → Not supported yet. - Tests: 4 incompleted, 18 skipped, 514 passed + Tests: 4 incompleted, 18 skipped, 515 passed \ No newline at end of file diff --git a/tests/Playground.php b/tests/Playground.php index 08c16d8a..be30ae7d 100644 --- a/tests/Playground.php +++ b/tests/Playground.php @@ -1,5 +1,5 @@ toBeTrue(); }); diff --git a/tests/Visual/junit.html b/tests/Visual/junit.html deleted file mode 100644 index e69de29b..00000000