update phpunit bits

This commit is contained in:
Kiara Grouwstra 2022-10-13 20:06:56 +02:00
parent ed5b114da3
commit 74cc701359
3 changed files with 10 additions and 10 deletions

View File

@ -1,15 +1,15 @@
<?xml version="1.0"?>
<phpunit backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="tests/phpunit/bootstrap.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="tests/phpunit/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">./</directory>
</include>
</coverage>
<testsuites>
<testsuite name="My Test Suite">
<directory>./tests/phpunit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./</directory>
</whitelist>
</filter>
<listeners>
<listener class="Civi\Test\CiviTestListener">
<arguments/>

View File

@ -28,7 +28,7 @@ class api_v3_Lid_IndelenTest extends \PHPUnit\Framework\TestCase implements Head
/**
* The setup() method is executed before the test is executed (optional).
*/
public function setUp() {
public function setUp(): void {
parent::setUp();
}
@ -36,7 +36,7 @@ class api_v3_Lid_IndelenTest extends \PHPUnit\Framework\TestCase implements Head
* The tearDown() method is executed after the test was executed (optional)
* This can be used for cleanup.
*/
public function tearDown() {
public function tearDown(): void {
parent::tearDown();
}

View File

@ -28,7 +28,7 @@ class api_v3_LidNummer_GenereerTest extends \PHPUnit\Framework\TestCase implemen
/**
* The setup() method is executed before the test is executed (optional).
*/
public function setUp() {
public function setUp(): void {
parent::setUp();
}
@ -36,7 +36,7 @@ class api_v3_LidNummer_GenereerTest extends \PHPUnit\Framework\TestCase implemen
* The tearDown() method is executed after the test was executed (optional)
* This can be used for cleanup.
*/
public function tearDown() {
public function tearDown(): void {
parent::tearDown();
}