Browse Source

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 years ago
parent
commit
14ab967815
1 changed files with 4 additions and 0 deletions
  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>