We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41fd6e0 commit 861355dCopy full SHA for 861355d
tests/formdata/FormDataTest.php
@@ -15,6 +15,11 @@ class FormDataTest extends TestCase {
15
public function testCanBeInstantiatedWithUsableData(array $data): void {
16
$formdata = new FormData('foo', $data);
17
$this->assertInstanceOf(FormData::class, $formdata);
18
+
19
+ foreach($data as $name => $value) {
20
+ $this->assertTrue($formdata->hasKey($name));
21
+ $this->assertEquals($value, $formdata->getValue($name));
22
+ }
23
}
24
25
public static function validDataProvider(): array {
0 commit comments