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
5
assets/.htaccess
Executable file → Normal file
5
assets/.htaccess
Executable file → Normal file
@ -5,7 +5,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
|
<IfModule mod_env.c>
|
||||||
SetEnv HTTP_MOD_REWRITE On
|
SetEnv HTTP_MOD_REWRITE On
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
# Disable PHP handler
|
# Disable PHP handler
|
||||||
@ -23,5 +26,5 @@
|
|||||||
# Non existant files passed to requesthandler
|
# Non existant files passed to requesthandler
|
||||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule .* ../framework/main.php?url=%1 [QSA]
|
RewriteRule .* ../vendor/silverstripe/framework/main.php?url=%1 [QSA]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
@ -20,26 +20,26 @@
|
|||||||
|
|
||||||
<testsuite name="Default">
|
<testsuite name="Default">
|
||||||
<directory>mysite/tests</directory>
|
<directory>mysite/tests</directory>
|
||||||
<directory>cms/tests</directory>
|
<directory>vendor/silverstripe/cms/tests/php</directory>
|
||||||
<directory>framework/tests</directory>
|
<directory>vendor/silverstripe/framework/tests/php</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
||||||
<!-- core components -->
|
<!-- core components -->
|
||||||
<testsuite name="core">
|
<testsuite name="core">
|
||||||
<directory>framework/tests/php/</directory>
|
<directory>vendor/silverstripe/framework/tests/php/</directory>
|
||||||
<directory>silverstripe-assets/tests/php/</directory>
|
<directory>vendor/silverstripe/assets/tests/php/</directory>
|
||||||
<directory>versioned/tests/php/</directory>
|
<directory>vendor/silverstripe/versioned/tests/php/</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
||||||
<!-- admin components -->
|
<!-- admin components -->
|
||||||
<testsuite name="admin">
|
<testsuite name="admin">
|
||||||
<directory>cms/tests/</directory>
|
<directory>vendor/silverstripe/cms/tests/</directory>
|
||||||
<directory>silverstripe-admin/tests/php/</directory>
|
<directory>vendor/silverstripe/admin/tests/php/</directory>
|
||||||
<directory>campaign-admin/tests/php/</directory>
|
<directory>vendor/silverstripe/campaign-admin/tests/php/</directory>
|
||||||
<directory>asset-admin/tests/php/</directory>
|
<directory>vendor/silverstripe/asset-admin/tests/php/</directory>
|
||||||
<directory>graphql/tests/</directory>
|
<directory>vendor/silverstripe/graphql/tests/</directory>
|
||||||
<directory>siteconfig/tests/</directory>
|
<directory>vendor/silverstripe/siteconfig/tests/php/</directory>
|
||||||
<directory>reports/tests/</directory>
|
<directory>vendor/silverstripe/reports/tests/</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
|
|
||||||
<groups>
|
<groups>
|
||||||
|
Loading…
Reference in New Issue
Block a user