We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb6e26f + 01a8e72 commit a9b9bd1Copy full SHA for a9b9bd1
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