MDL-84355 phpunit: Correct test path for component configs
This commit is contained in:
@@ -524,6 +524,7 @@ class phpunit_util extends testing_util {
|
||||
<testsuite name="@component@_testsuite">
|
||||
<directory suffix="_test.php">@dir@</directory>
|
||||
<exclude>@dir@/classes</exclude>
|
||||
<exclude>@dir@/fixtures</exclude>
|
||||
</testsuite>
|
||||
|
||||
EOF;
|
||||
@@ -615,8 +616,9 @@ class phpunit_util extends testing_util {
|
||||
$template = <<<EOT
|
||||
<testsuites>
|
||||
<testsuite name="@component@_testsuite">
|
||||
<directory suffix="_test.php">.</directory>
|
||||
<exclude>./classes</exclude>
|
||||
<directory suffix="_test.php">tests</directory>
|
||||
<exclude>tests/classes</exclude>
|
||||
<exclude>tests/fixtures</exclude>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
EOT;
|
||||
@@ -625,7 +627,7 @@ class phpunit_util extends testing_util {
|
||||
<directory suffix=".php">.</directory>
|
||||
</include>
|
||||
<exclude>
|
||||
<directory suffix="_test.php">.</directory>
|
||||
<directory suffix="_test.php">tests</directory>
|
||||
</exclude>
|
||||
EOT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user