public function SkipRedirectTest::skipRedirectDataProvider in Redirect 403 to User Login 8
Same name and namespace in other branches
- 2.x tests/src/Functional/SkipRedirectTest.php \Drupal\Tests\r4032login\Functional\SkipRedirectTest::skipRedirectDataProvider()
Data provider for testSkipRedirect.
File
- tests/
src/ Functional/ SkipRedirectTest.php, line 53
Class
- SkipRedirectTest
- Test that is well avoided to redirect for configured urls.
Namespace
Drupal\Tests\r4032login\FunctionalCode
public function skipRedirectDataProvider() {
return [
[
'admin/config/development',
403,
'admin/config/development',
],
[
'admin/config',
200,
'user/login',
],
[
'admin/modules',
403,
'admin/modules',
],
[
'admin/modules/uninstall',
200,
'user/login',
],
];
}