You are here

public function PrepopulateFormTest::testAllPrepopulate in Prepopulate 8.2

Test pre-populating all values into a form. Safe and unsafe inputs.

Throws

\Behat\Mink\Exception\ResponseTextException

File

tests/src/Functional/PrepopulateFormTest.php, line 76

Class

PrepopulateFormTest
Form functionality tests of prepopulate.

Namespace

Drupal\Tests\prepopulate\Functional

Code

public function testAllPrepopulate() {
  foreach ($this
    ->allInputs() as $input) {
    $this
      ->assertPrepopulate($input['uri'], $input['expected']);
  }
}