@@ -267,7 +267,7 @@ |
||
| 267 | 267 | */ |
| 268 | 268 | public function getSerialisation() |
| 269 | 269 | { |
| 270 | - if(empty($this->serialisation)){ |
|
| 270 | + if (empty($this->serialisation)) { |
|
| 271 | 271 | return []; |
| 272 | 272 | } |
| 273 | 273 | return $this->serialisation->getSerialisation(); |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | $manager = $this->getContainer()->get('starkerxp_lead.manager.lead'); |
| 72 | 72 | $listeLeads = $manager->getRepository()->findAll(); |
| 73 | 73 | $this->assertCount(1, $listeLeads); |
| 74 | - $LeadActionDepart = $manager->toArray($listeLeads[0], [/*'nom'*/]);// Exemple |
|
| 74 | + $LeadActionDepart = $manager->toArray($listeLeads[0], [/*'nom'*/]); // Exemple |
|
| 75 | 75 | $data = [ |
| 76 | 76 | //'nom' => "Mon nom", //exemple |
| 77 | 77 | ]; |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | $manager->clear(); |
| 89 | 89 | $LeadActions = $manager->findAll(); |
| 90 | 90 | $this->assertCount(1, $LeadActions); |
| 91 | - $LeadActionFinal = $manager->toArray($LeadActions[0], [/*'nom'*/]);// Exemple |
|
| 91 | + $LeadActionFinal = $manager->toArray($LeadActions[0], [/*'nom'*/]); // Exemple |
|
| 92 | 92 | $this->assertNotEquals($LeadActionDepart, $LeadActionFinal); |
| 93 | 93 | $this->assertEquals($data, $LeadActionFinal); |
| 94 | 94 | } |