forked from loafle/openapi-generator-original
* Set error_reporting(E_ALL) in phpunit.xml settings, so that undefined variables will always cause a test failure * Update petstore sample for php-laravel
24 lines
764 B
XML
24 lines
764 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit bootstrap="./vendor/autoload.php"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
stopOnFailure="false">
|
|
<testsuites>
|
|
<testsuite name="tests">
|
|
<directory>./test/Api</directory>
|
|
<directory>./test/Model</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
|
<directory suffix=".php">./lib/Api</directory>
|
|
<directory suffix=".php">./lib/Model</directory>
|
|
</whitelist>
|
|
</filter>
|
|
<php>
|
|
<ini name="error_reporting" value="E_ALL" />
|
|
</php>
|
|
</phpunit>
|