phpunit.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. backupStaticAttributes="false"
  4. bootstrap="vendor/autoload.php"
  5. colors="true"
  6. convertErrorsToExceptions="true"
  7. convertNoticesToExceptions="true"
  8. convertWarningsToExceptions="true"
  9. processIsolation="false"
  10. stopOnFailure="false">
  11. <testsuites>
  12. <testsuite name="Actions Test Suite">
  13. <directory>./tests/</directory>
  14. <exclude>vendor</exclude>
  15. </testsuite>
  16. </testsuites>
  17. <filter>
  18. <whitelist>
  19. <directory suffix=".php">src/</directory>
  20. <exclude>
  21. <directory>vendor/</directory>
  22. </exclude>
  23. </whitelist>
  24. </filter>
  25. <php>
  26. <env name="APP_ENV" value="testing"/>
  27. <env name="APP_KEY" value="base64:Sen61FzLXOGtOUgLyK48yTvTipzUrm9l/0duGBazHXw="/>
  28. <env name="QINIU_ACCESS_KEY" value=""/>
  29. <env name="QINIU_SECRET_KEY" value=""/>
  30. <env name="QINIU_BUCKET" value=""/>
  31. <env name="QINIU_DOMAIN" value=""/>
  32. </php>
  33. </phpunit>