-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PHP 7.1 tests and Collision issue
- Loading branch information
Showing
2 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit backupGlobals="false" | ||
backupStaticAttributes="false" | ||
bootstrap="tests/bootstrap.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnError="false" | ||
stopOnFailure="false" | ||
verbose="true" | ||
> | ||
<listeners> | ||
<listener class="NunoMaduro\Collision\Adapters\Phpunit\Listener" /> | ||
</listeners> | ||
<testsuites> | ||
<testsuite name="Twill Test Suites"> | ||
<directory suffix="Test.php">./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="false"> | ||
<directory suffix=".php">./src</directory> | ||
<exclude> | ||
<directory suffix=".blade.php">./tests</directory> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
<logging> | ||
<log type="coverage-html" target="tests/coverage/" lowUpperBound="35" highLowerBound="70"/> | ||
<log type="coverage-clover" target="tests/coverage/coverage-clover.xml" lowUpperBound="35" highLowerBound="70"/> | ||
<log type="coverage-text" target="php://stdout" showOnlySummary="true" showUncoveredFiles="false"/> | ||
</logging> | ||
<php> | ||
<env name="APP_KEY" value="base64:DV8kQN5a+4MwAIQ5uk1WNafxO+/Efab0K20uVMDJ2UE="/> | ||
<env name="APP_ENV" value="testing"/> | ||
<env name="APP_URL" value="http://twill.test"/> | ||
<env name="TELESCOPE_ENABLED" value="false"/> | ||
<env name="BCRYPT_ROUNDS" value="4"/> | ||
<env name="CACHE_DRIVER" value="array"/> | ||
<env name="SESSION_DRIVER" value="array"/> | ||
<env name="QUEUE_DRIVER" value="sync"/> | ||
<env name="MAIL_DRIVER" value="array"/> | ||
<env name="DB_CONNECTION" value="sqlite"/> | ||
<env name="DB_DATABASE" value=":memory:"/> | ||
<env name="LOG_CHANNEL" value="single"/> | ||
<env name="MEDIA_LIBRARY_IMAGE_SERVICE" value="A17\Twill\Services\MediaLibrary\Glide"/> | ||
<env name="MEDIA_LIBRARY_LOCAL_PATH" value="media-library"/> | ||
<env name="MEDIA_LIBRARY_ENDPOINT_TYPE" value="local"/> | ||
<env name="FILE_LIBRARY_FILE_SERVICE" value="A17\Twill\Services\MediaLibrary\Glide"/> | ||
<env name="FILE_LIBRARY_LOCAL_PATH" value="file-library"/> | ||
<env name="FILE_LIBRARY_ENDPOINT_TYPE" value="local"/> | ||
<env name="IMGIX_SOURCE_HOST" value=""/> | ||
<env name="IMGIX_USE_HTTPS" value=""/> | ||
<env name="IMGIX_USE_SIGNED_URLS" value=""/> | ||
<env name="IMGIX_SIGN_KEY" value=""/> | ||
<env name="GLIDE_SOURCE" value="storage/app/public/media-library"/> | ||
<env name="GLIDE_CACHE" value="storage/app/twill/cache"/> | ||
<env name="GLIDE_CACHE_PATH_PREFIX" value="glide_cache"/> | ||
<env name="GLIDE_BASE_URL" value="http://twill.test"/> | ||
<env name="GLIDE_BASE_PATH" value="storage/media-library"/> | ||
<env name="GLIDE_USE_SIGNED_URLS" value="false"/> | ||
<env name="GLIDE_SIGN_KEY" value=""/> | ||
</php> | ||
</phpunit> |