Skip to content

Commit 3b01e59

Browse files
Changed phpunit's suffix
1 parent ef949ef commit 3b01e59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: Perform PHPUnit Tests
9696
env:
9797
SS_DATABASE_PORT: ${{ job.services.mysql.ports['3306'] }}
98-
run: vendor/bin/phpunit --colors=always --teamcity
98+
run: SS_PHPUNIT_FLUSH=1 vendor/bin/phpunit --colors=always --teamcity
9999

100100
phpcs:
101101
name: "PHP_CodeSniffer"

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="../../silverstripe/framework/tests/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd">
33
<testsuites>
44
<testsuite name="Default">
5-
<directory suffix=".php">tests/PHPUnit</directory>
5+
<directory suffix="Test.php">tests/PHPUnit</directory>
66
</testsuite>
77
</testsuites>
88

0 commit comments

Comments
 (0)