private function RenameAdminPathsSettingsFormTest::getValidFormState in Rename Admin Paths 8.2
Return value
1 call to RenameAdminPathsSettingsFormTest::getValidFormState()
- RenameAdminPathsSettingsFormTest::testWithValidValue in tests/
src/ Unit/ Form/ RenameAdminPathsSettingsFormTest.php - @dataProvider validValues
File
- tests/
src/ Unit/ Form/ RenameAdminPathsSettingsFormTest.php, line 91
Class
- RenameAdminPathsSettingsFormTest
- @group tests
Namespace
Drupal\Tests\rename_admin_paths\Unit\FormCode
private function getValidFormState() {
$formState = $this
->prophesize(FormStateInterface::class);
$formState
->setError()
->shouldNotBeCalled();
return $formState
->reveal();
}