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

@@ -192,7 +192,7 @@ final class ActivityControllerTest extends WebTestCase
$crawler = $client->followRedirect();
$this->assertNotContains('January 25, 2015', $crawler->text());
$this->assertStringNotContainsString('January 25, 2015', $crawler->text());
}
/**

View File

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

View File

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

View File

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

View File

@@ -34,6 +34,9 @@ final class TranslatableActivityReasonTest extends TypeTestCase
parent::setUp();
}
/**
* @doesNotPerformAssertions
*/
public function testSimple(): never
{
$translatableActivityReasonType = new PickActivityReasonType(

View File

@@ -19,6 +19,9 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
*/
final class TimelineProviderTest extends WebTestCase
{
/**
* @doesNotPerformAssertions
*/
public function testAnActivityIsShownOnTimeline(): never
{
$this->markTestSkipped('we have to write fixtures before writing this tests');