function FormStateDecoratorBaseTest::testSetLimitValidationErrors
Tests set limit validation errors.
@legacy-covers ::setLimitValidationErrors
Attributes
#[DataProvider('providerLimitValidationErrors')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php, line 288
Class
Namespace
Drupal\Tests\Core\FormCode
public function testSetLimitValidationErrors($limit_validation_errors) : void {
$this->decoratedFormState
->setLimitValidationErrors($limit_validation_errors)
->shouldBeCalled();
$this->assertSame($this->formStateDecoratorBase, $this->formStateDecoratorBase
->setLimitValidationErrors($limit_validation_errors));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.