mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
Update unit test paths and asset .htaccess
This commit is contained in:
parent
96045afc65
commit
8ab058a3fd
7
assets/.htaccess
Executable file → Normal file
7
assets/.htaccess
Executable file → Normal file
@ -5,7 +5,10 @@
|
||||
#
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
SetEnv HTTP_MOD_REWRITE On
|
||||
<IfModule mod_env.c>
|
||||
SetEnv HTTP_MOD_REWRITE On
|
||||
</IfModule>
|
||||
|
||||
RewriteEngine On
|
||||
|
||||
# Disable PHP handler
|
||||
@ -23,5 +26,5 @@
|
||||
# Non existant files passed to requesthandler
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule .* ../framework/main.php?url=%1 [QSA]
|
||||
RewriteRule .* ../vendor/silverstripe/framework/main.php?url=%1 [QSA]
|
||||
</IfModule>
|
||||
|
@ -20,26 +20,26 @@
|
||||
|
||||
<testsuite name="Default">
|
||||
<directory>mysite/tests</directory>
|
||||
<directory>cms/tests</directory>
|
||||
<directory>framework/tests</directory>
|
||||
<directory>vendor/silverstripe/cms/tests/php</directory>
|
||||
<directory>vendor/silverstripe/framework/tests/php</directory>
|
||||
</testsuite>
|
||||
|
||||
<!-- core components -->
|
||||
<testsuite name="core">
|
||||
<directory>framework/tests/php/</directory>
|
||||
<directory>silverstripe-assets/tests/php/</directory>
|
||||
<directory>versioned/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/framework/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/assets/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/versioned/tests/php/</directory>
|
||||
</testsuite>
|
||||
|
||||
<!-- admin components -->
|
||||
<testsuite name="admin">
|
||||
<directory>cms/tests/</directory>
|
||||
<directory>silverstripe-admin/tests/php/</directory>
|
||||
<directory>campaign-admin/tests/php/</directory>
|
||||
<directory>asset-admin/tests/php/</directory>
|
||||
<directory>graphql/tests/</directory>
|
||||
<directory>siteconfig/tests/</directory>
|
||||
<directory>reports/tests/</directory>
|
||||
<directory>vendor/silverstripe/cms/tests/</directory>
|
||||
<directory>vendor/silverstripe/admin/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/campaign-admin/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/asset-admin/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/graphql/tests/</directory>
|
||||
<directory>vendor/silverstripe/siteconfig/tests/php/</directory>
|
||||
<directory>vendor/silverstripe/reports/tests/</directory>
|
||||
</testsuite>
|
||||
|
||||
<groups>
|
||||
|
Loading…
Reference in New Issue
Block a user