function FormStateDecoratorBaseTest::testIsRedirectDisabled
Tests is redirect disabled.
@legacy-covers ::isRedirectDisabled
Attributes
#[DataProvider('providerSingleBooleanArgument')]
File
-
core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php, line 431
Class
Namespace
Drupal\Tests\Core\FormCode
public function testIsRedirectDisabled($no_redirect) : void {
$this->decoratedFormState
->isRedirectDisabled()
->willReturn($no_redirect)
->shouldBeCalled();
$this->assertSame($no_redirect, $this->formStateDecoratorBase
->isRedirectDisabled());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.