Skip to content

Commit

Permalink
Add php unit configuration file to git
Browse files Browse the repository at this point in the history
  • Loading branch information
marekrzytki committed Apr 24, 2024
1 parent 8982c3d commit f76111f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
!/etc/build/.gitignore

/behat.yml
/phpunit.xml
29 changes: 29 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="tests/Application/config/bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />

<env name="APP_SECRET" value="''" />
<env name="APP_ENV" value="test"/>
<env name="APP_DEBUG" value="0"/>
<env name="SHELL_VERBOSITY" value="-1" />

<server name="KERNEL_CLASS" value="Tests\BitBag\SyliusWishlistPlugin\Application\Kernel" />
<server name="KERNEL_CLASS_PATH" value="/tests/Application/Kernel.php" />
<server name="IS_DOCTRINE_ORM_SUPPORTED" value="true"/>
<server name="SHELL_VERBOSITY" value="-1" />
<server name="ESCAPE_JSON" value="true" />
</php>

<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit f76111f

Please sign in to comment.