mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-26 09:33:50 +00:00
Fix tests with capitalization
This commit is contained in:
@@ -92,15 +92,19 @@ class LoadReports extends AbstractFixture implements OrderedFixtureInterface, Co
|
||||
->findOneBy(array('firstName' => 'Charline', 'lastName' => 'DEPARDIEU'))
|
||||
;
|
||||
|
||||
$report = (new Report())
|
||||
if (NULL !== $charline) {
|
||||
$report = (new Report())
|
||||
->setPerson($charline)
|
||||
->setCFGroup($this->getReference('cf_group_report_logement'))
|
||||
->setDate(new \DateTime('2015-01-05'))
|
||||
->setScope($this->getReference('scope_social'))
|
||||
;
|
||||
$this->fillReport($report);
|
||||
;
|
||||
$this->fillReport($report);
|
||||
|
||||
$manager->persist($report);
|
||||
$manager->persist($report);
|
||||
} else {
|
||||
print("WARNING: Charline DEPARDIEU not found in database");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user