10000
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.
1 parent aa54aff commit a16b56dCopy full SHA for a16b56d
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