mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-30 07:32:39 +01:00
e60d11ee04
- Added {$service}_AUTO_REGISTER and {$service}_AUTO_CONFIRM_EMAIL env options for each social auth system. - Auto-register will allow registration from login, even if registration is disabled. - Auto-confirm-email indicates trust and will mark new registrants as 'email_confirmed' and skip 'confirmation email' flow. - Also added covering tests.
47 lines
1.8 KiB
XML
47 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit backupGlobals="false"
|
|
backupStaticAttributes="false"
|
|
bootstrap="bootstrap/init.php"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnFailure="false"
|
|
syntaxCheck="false">
|
|
<testsuites>
|
|
<testsuite name="Application Test Suite">
|
|
<directory>./tests/</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist>
|
|
<directory suffix=".php">app/</directory>
|
|
</whitelist>
|
|
</filter>
|
|
<php>
|
|
<env name="APP_ENV" value="testing"/>
|
|
<env name="APP_DEBUG" value="false"/>
|
|
<env name="APP_LANG" value="en"/>
|
|
<env name="APP_AUTO_LANG_PUBLIC" value="true"/>
|
|
<env name="CACHE_DRIVER" value="array"/>
|
|
<env name="SESSION_DRIVER" value="array"/>
|
|
<env name="QUEUE_DRIVER" value="sync"/>
|
|
<env name="DB_CONNECTION" value="mysql_testing"/>
|
|
<env name="MAIL_DRIVER" value="log"/>
|
|
<env name="AUTH_METHOD" value="standard"/>
|
|
<env name="DISABLE_EXTERNAL_SERVICES" value="true"/>
|
|
<env name="LDAP_VERSION" value="3"/>
|
|
<env name="STORAGE_TYPE" value="local"/>
|
|
<env name="GITHUB_APP_ID" value="aaaaaaaaaaaaaa"/>
|
|
<env name="GITHUB_APP_SECRET" value="aaaaaaaaaaaaaa"/>
|
|
<env name="GITHUB_AUTO_REGISTER" value=""/>
|
|
<env name="GITHUB_AUTO_CONFIRM_EMAIL" value=""/>
|
|
<env name="GOOGLE_APP_ID" value="aaaaaaaaaaaaaa"/>
|
|
<env name="GOOGLE_APP_SECRET" value="aaaaaaaaaaaaaa"/>
|
|
<env name="GOOGLE_AUTO_REGISTER" value=""/>
|
|
<env name="GOOGLE_AUTO_CONFIRM_EMAIL" value=""/>
|
|
<env name="APP_URL" value="http://bookstack.dev"/>
|
|
</php>
|
|
</phpunit>
|