DX: apply rector rules for phpunit up to 90

This commit is contained in:
2023-08-31 11:08:42 +02:00
parent e4e52234ad
commit b85cd1b994
22 changed files with 62 additions and 9 deletions

View File

@@ -348,7 +348,7 @@ abstract class AbstractExportTest extends WebTestCase
$client->getResponse()->isSuccessful(),
'test that the response of /fr/exports/ is successful'
);
$this->assertContains(
$this->assertStringContainsString(
$title,
$crawler->text(),
'test that the page /fr/exports/ contains the title of the '

View File

@@ -19,6 +19,9 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
*/
final class PermissionsGroupControllerTest extends WebTestCase
{
/**
* @doesNotPerformAssertions
*/
public function testEmpty(): never
{
$this->markTestSkipped();

View File

@@ -38,6 +38,9 @@ final class AbstractSearchTest extends \PHPUnit\Framework\TestCase
$this->assertEquals('01', $date->format('d'));
}
/**
* @doesNotPerformAssertions
*/
public function testRecompose(): never
{
$this->markTestSkipped();