You are here

public function YamlFormElementManagedFileTest::testFileUpload in YAML Form 8

Test single and multiple file upload.

File

src/Tests/YamlFormElementManagedFileTest.php, line 104

Class

YamlFormElementManagedFileTest
Test for form element managed file handling.

Namespace

Drupal\yamlform\Tests

Code

public function testFileUpload() {
  $this
    ->checkFileUpload('single', $this->files[0], $this->files[1]);
  $this
    ->checkFileUpload('multiple', $this->files[2], $this->files[3]);
}