We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa54aff commit bda19a0Copy full SHA for bda19a0
src/Symfony/Component/Form/Tests/Extension/DataCollector/FormDataCollectorTest.php
@@ -570,14 +570,8 @@ public function testReset()
570
$this->dataCollector->buildPreliminaryFormTree($form);
571
$this->dataCollector->collectSubmittedData($form);
572
573
- $this->assertNotSame(
574
- [
575
- 'forms' => [],
576
- 'forms_by_hash' => [],
577
- 'nb_errors' => 0,
578
- ],
579
- $this->dataCollector->getData()
580
- );
+ $this->assertGreaterThan(0, count($this->dataCollector->getData()['forms']));
+ $this->assertGreaterThan(0, count($this->dataCollector->getData()['forms_by_hash']));
581
582
$this->dataCollector->reset();
583
0 commit comments