mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-28 13:12:05 +00:00
![Dan Brown](/assets/img/avatar_default.png)
- Created BookChild class to share some page/chapter logic. - Gave entities the power to generate their own permissions and slugs. - Moved bits out of BaseController constructor since it was overly sticky. - Moved slug generation logic into its own class. - Created a facade for permissions due to high use. - Fixed failing test issues from last commits
53 lines
2.2 KiB
XML
53 lines
2.2 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">
|
|
<testsuites>
|
|
<testsuite name="Application Test Suite">
|
|
<directory>./tests/</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist>
|
|
<directory suffix=".php">app/</directory>
|
|
</whitelist>
|
|
</filter>
|
|
<php>
|
|
<server name="APP_ENV" value="testing"/>
|
|
<server name="APP_DEBUG" value="false"/>
|
|
<server name="APP_LANG" value="en"/>
|
|
<server name="APP_AUTO_LANG_PUBLIC" value="true"/>
|
|
<server name="CACHE_DRIVER" value="array"/>
|
|
<server name="SESSION_DRIVER" value="array"/>
|
|
<server name="QUEUE_CONNECTION" value="sync"/>
|
|
<server name="DB_CONNECTION" value="mysql_testing"/>
|
|
<server name="BCRYPT_ROUNDS" value="4"/>
|
|
<server name="MAIL_DRIVER" value="array"/>
|
|
<server name="LOG_CHANNEL" value="single"/>
|
|
<server name="AUTH_METHOD" value="standard"/>
|
|
<server name="DISABLE_EXTERNAL_SERVICES" value="true"/>
|
|
<server name="AVATAR_URL" value=""/>
|
|
<server name="LDAP_VERSION" value="3"/>
|
|
<server name="STORAGE_TYPE" value="local"/>
|
|
<server name="STORAGE_ATTACHMENT_TYPE" value="local"/>
|
|
<server name="STORAGE_IMAGE_TYPE" value="local"/>
|
|
<server name="GITHUB_APP_ID" value="aaaaaaaaaaaaaa"/>
|
|
<server name="GITHUB_APP_SECRET" value="aaaaaaaaaaaaaa"/>
|
|
<server name="GITHUB_AUTO_REGISTER" value=""/>
|
|
<server name="GITHUB_AUTO_CONFIRM_EMAIL" value=""/>
|
|
<server name="GOOGLE_APP_ID" value="aaaaaaaaaaaaaa"/>
|
|
<server name="GOOGLE_APP_SECRET" value="aaaaaaaaaaaaaa"/>
|
|
<server name="GOOGLE_AUTO_REGISTER" value=""/>
|
|
<server name="GOOGLE_AUTO_CONFIRM_EMAIL" value=""/>
|
|
<server name="GOOGLE_SELECT_ACCOUNT" value=""/>
|
|
<server name="APP_URL" value="http://bookstack.dev"/>
|
|
<server name="DEBUGBAR_ENABLED" value="false"/>
|
|
</php>
|
|
</phpunit>
|