mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-25 08:05:00 +00:00
apply rector rules
This commit is contained in:
@@ -38,10 +38,7 @@ final class ReportControllerTest extends WebTestCase
|
||||
*/
|
||||
private static $client;
|
||||
|
||||
/**
|
||||
* @var \Doctrine\ORM\EntityManagerInterface
|
||||
*/
|
||||
private static $em;
|
||||
private static ?object $em = null;
|
||||
|
||||
/**
|
||||
* @var CustomFieldsGroup
|
||||
|
@@ -27,15 +27,9 @@ use function count;
|
||||
*/
|
||||
final class TimelineProviderTest extends WebTestCase
|
||||
{
|
||||
/**
|
||||
* @var \Doctrine\ORM\EntityManager
|
||||
*/
|
||||
private static $em;
|
||||
private static ?object $em = null;
|
||||
|
||||
/**
|
||||
* @var Person
|
||||
*/
|
||||
private $person;
|
||||
private \Chill\PersonBundle\Entity\Person $person;
|
||||
|
||||
/**
|
||||
* @var Report
|
||||
@@ -158,18 +152,8 @@ final class TimelineProviderTest extends WebTestCase
|
||||
->count(),
|
||||
'the page contains a .report .summary element'
|
||||
);
|
||||
$this->assertContains(
|
||||
'blah blah',
|
||||
$crawler->filter('.report_entry .summary')
|
||||
->text(),
|
||||
'the page contains the text "blah blah"'
|
||||
);
|
||||
$this->assertContains(
|
||||
'Propriétaire',
|
||||
$crawler->filter('.report_entry .summary')
|
||||
->text(),
|
||||
'the page contains the mention "Propriétaire"'
|
||||
);
|
||||
$this->assertSelectorTextContains('.report_entry .summary', 'blah blah', 'the page contains the text "blah blah"');
|
||||
$this->assertSelectorTextContains('.report_entry .summary', 'Propriétaire', 'the page contains the mention "Propriétaire"');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user