You are here

public function RedirectStatusCodeTest::redirectStatusCodeDataProvider in Redirect 403 to User Login 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/RedirectStatusCodeTest.php \Drupal\Tests\r4032login\Functional\RedirectStatusCodeTest::redirectStatusCodeDataProvider()

Data provider for testRedirectStatusCode.

File

tests/src/Functional/RedirectStatusCodeTest.php, line 49

Class

RedirectStatusCodeTest
Test the behavior of the "HTTP redirect code" option.

Namespace

Drupal\Tests\r4032login\Functional

Code

public function redirectStatusCodeDataProvider() {
  return [
    [
      301,
      301,
    ],
    [
      302,
      302,
    ],
    [
      307,
      307,
    ],
  ];
}