1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From d393649dd2ff387ef6872f604430f18313ed8e43 Mon Sep 17 00:00:00 2001
From: tenzap <fabstz-it@yahoo.fr>
Date: Mon, 19 Jun 2023 20:19:20 +0200
Subject: [PATCH 3/8] fix error with phpunit10 (migrate configuration)
Produced by: phpunit --migrate-configuration
---
tests/phpunit.xml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
--- a/tests/phpunit.xml
+++ b/tests/phpunit.xml
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./Bootstrap.php" colors="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" beStrictAboutTestsThatDoNotTestAnything="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
- <coverage>
- <include>
- <directory suffix=".php">../system/</directory>
- </include>
- </coverage>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./Bootstrap.php" colors="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" beStrictAboutTestsThatDoNotTestAnything="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache">
+ <coverage/>
<testsuites>
<testsuite name="CodeIgniter Core Test Suite">
<directory suffix="test.php">./codeigniter/core</directory>
@@ -12,4 +8,9 @@
<directory suffix="test.php">./codeigniter/libraries</directory>
</testsuite>
</testsuites>
+ <source>
+ <include>
+ <directory suffix=".php">../system/</directory>
+ </include>
+ </source>
</phpunit>
|