wip
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -21,3 +21,4 @@ yarn-error.log
|
|||||||
rr
|
rr
|
||||||
.rr.yaml
|
.rr.yaml
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.phpunit.cache
|
||||||
|
|||||||
56
phpunit.xml
56
phpunit.xml
@@ -1,30 +1,30 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
|
||||||
<coverage processUncoveredFiles="true">
|
<testsuites>
|
||||||
<include>
|
<testsuite name="Unit">
|
||||||
<directory suffix=".php">./app</directory>
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
</include>
|
</testsuite>
|
||||||
</coverage>
|
<testsuite name="Feature">
|
||||||
<testsuites>
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
<testsuite name="Unit">
|
</testsuite>
|
||||||
<directory suffix="Test.php">./tests/Unit</directory>
|
</testsuites>
|
||||||
</testsuite>
|
<php>
|
||||||
<testsuite name="Feature">
|
<server name="APP_KEY" value="base64:cd+nQxEjQRq47wnOEkDUgLm9ejXMQgrwp7u4XoRZKso="/>
|
||||||
<directory suffix="Test.php">./tests/Feature</directory>
|
<server name="APP_ENV" value="testing"/>
|
||||||
</testsuite>
|
<server name="BCRYPT_ROUNDS" value="4"/>
|
||||||
</testsuites>
|
<server name="CACHE_DRIVER" value="array"/>
|
||||||
<php>
|
<server name="DB_CONNECTION" value="sqlite"/>
|
||||||
<server name="APP_KEY" value="base64:cd+nQxEjQRq47wnOEkDUgLm9ejXMQgrwp7u4XoRZKso="/>
|
<server name="DB_DATABASE" value=":memory:"/>
|
||||||
<server name="APP_ENV" value="testing"/>
|
<server name="MAIL_MAILER" value="array"/>
|
||||||
<server name="BCRYPT_ROUNDS" value="4"/>
|
<server name="QUEUE_CONNECTION" value="sync"/>
|
||||||
<server name="CACHE_DRIVER" value="array"/>
|
<server name="SESSION_DRIVER" value="array"/>
|
||||||
<server name="DB_CONNECTION" value="sqlite"/>
|
<server name="TELESCOPE_ENABLED" value="false"/>
|
||||||
<server name="DB_DATABASE" value=":memory:"/>
|
<server name="PLOI_TOKEN" value="TEST"/>
|
||||||
<server name="MAIL_MAILER" value="array"/>
|
<server name="PLOI_CORE_TOKEN" value="TEST"/>
|
||||||
<server name="QUEUE_CONNECTION" value="sync"/>
|
</php>
|
||||||
<server name="SESSION_DRIVER" value="array"/>
|
<source>
|
||||||
<server name="TELESCOPE_ENABLED" value="false"/>
|
<include>
|
||||||
<server name="PLOI_TOKEN" value="TEST" />
|
<directory suffix=".php">./app</directory>
|
||||||
<server name="PLOI_CORE_TOKEN" value="TEST" />
|
</include>
|
||||||
</php>
|
</source>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
|
||||||
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
|
<coverage processUncoveredFiles="true">
|
||||||
bootstrap="vendor/autoload.php"
|
<include>
|
||||||
colors="true"
|
<directory suffix=".php">./app</directory>
|
||||||
>
|
</include>
|
||||||
|
</coverage>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Unit">
|
<testsuite name="Unit">
|
||||||
<directory suffix="Test.php">./tests/Unit</directory>
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
@@ -12,12 +13,8 @@
|
|||||||
<directory suffix="Test.php">./tests/Feature</directory>
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<filter>
|
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
|
||||||
<directory suffix=".php">./app</directory>
|
|
||||||
</whitelist>
|
|
||||||
</filter>
|
|
||||||
<php>
|
<php>
|
||||||
|
<server name="APP_KEY" value="base64:cd+nQxEjQRq47wnOEkDUgLm9ejXMQgrwp7u4XoRZKso="/>
|
||||||
<server name="APP_ENV" value="testing"/>
|
<server name="APP_ENV" value="testing"/>
|
||||||
<server name="BCRYPT_ROUNDS" value="4"/>
|
<server name="BCRYPT_ROUNDS" value="4"/>
|
||||||
<server name="CACHE_DRIVER" value="array"/>
|
<server name="CACHE_DRIVER" value="array"/>
|
||||||
@@ -27,5 +24,7 @@
|
|||||||
<server name="QUEUE_CONNECTION" value="sync"/>
|
<server name="QUEUE_CONNECTION" value="sync"/>
|
||||||
<server name="SESSION_DRIVER" value="array"/>
|
<server name="SESSION_DRIVER" value="array"/>
|
||||||
<server name="TELESCOPE_ENABLED" value="false"/>
|
<server name="TELESCOPE_ENABLED" value="false"/>
|
||||||
|
<server name="PLOI_TOKEN" value="TEST" />
|
||||||
|
<server name="PLOI_CORE_TOKEN" value="TEST" />
|
||||||
</php>
|
</php>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|||||||
Reference in New Issue
Block a user