migrate test cases to use pestphp syntax
This commit is contained in:
parent
af9354ff22
commit
9c98735db7
14 changed files with 365 additions and 415 deletions
11
phpunit.xml
11
phpunit.xml
|
@ -14,8 +14,8 @@
|
|||
failOnWarning="true">
|
||||
<testsuites>
|
||||
<testsuite name="default">
|
||||
<directory>tests/Controller</directory>
|
||||
<directory>tests/Entity</directory>
|
||||
<directory>tests/Feature</directory>
|
||||
<directory>tests/Unit</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
|
@ -29,7 +29,10 @@
|
|||
</exclude>
|
||||
</source>
|
||||
<php>
|
||||
<env name="APP_ENV" value="test" />
|
||||
<env name="KERNEL_CLASS" value="App\Kernel" />
|
||||
<ini name="display_errors" value="1" />
|
||||
<ini name="error_reporting" value="-1" />
|
||||
<server name="KERNEL_CLASS" value="App\Kernel" />
|
||||
<server name="APP_ENV" value="test" force="true" />
|
||||
<server name="SHELL_VERBOSITY" value="-1" />
|
||||
</php>
|
||||
</phpunit>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue