Browse Source

Simplify phpunit.xml

Mark Sch 6 years ago
parent
commit
ffb406edb4
1 changed files with 7 additions and 8 deletions
  1. 7 8
      phpunit.xml.dist

+ 7 - 8
phpunit.xml.dist

@@ -4,8 +4,7 @@
     colors="true"
     processIsolation="false"
     stopOnFailure="false"
-    syntaxCheck="false"
-    bootstrap="./tests/bootstrap.php"
+    bootstrap="tests/bootstrap.php"
     backupGlobals="true"
     >
     <php>
@@ -18,18 +17,18 @@
 
     <testsuites>
         <testsuite name="cakephp">
-            <directory>./tests/TestCase/</directory>
+            <directory>tests/TestCase/</directory>
             <!-- Excludes are required in order to let DatabaseSuite decorate the tests -->
-            <exclude>./tests/TestCase/Database/</exclude>
-            <exclude>./tests/TestCase/ORM/</exclude>
+            <exclude>tests/TestCase/Database/</exclude>
+            <exclude>tests/TestCase/ORM/</exclude>
         </testsuite>
         <testsuite name="database">
-            <file>./tests/TestCase/DatabaseSuite.php</file>
+            <file>tests/TestCase/DatabaseSuite.php</file>
         </testsuite>
     </testsuites>
 
     <listeners>
-        <listener class="\Cake\TestSuite\Fixture\FixtureInjector" file="./src/TestSuite/Fixture/FixtureInjector.php">
+        <listener class="\Cake\TestSuite\Fixture\FixtureInjector">
             <arguments>
                 <object class="\Cake\TestSuite\Fixture\FixtureManager" />
             </arguments>
@@ -39,7 +38,7 @@
     <!-- Prevent coverage reports from looking in tests, vendors, config folders -->
     <filter>
         <whitelist>
-            <directory suffix=".php">./src/</directory>
+            <directory suffix=".php">src/</directory>
         </whitelist>
     </filter>