Pārlūkot izejas kodu

Provide a global php.ini precision setting

This is needed, because some actual floating asserts in tests only work correctly with this specific precision of 8. If this setting is not provided, php will rely on the system's provided php.ini precision setting, which than will cause some failures in the tests.
Mike Meier 9 gadi atpakaļ
vecāks
revīzija
14ab967815
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      phpunit.xml.dist

+ 4 - 0
phpunit.xml.dist

@@ -30,4 +30,8 @@
         </whitelist>
     </filter>
 
+    <php>
+        <ini name="precision" value="8"/>
+    </php>
+
 </phpunit>