public function CsrfTokenGeneratorTest::providerTestInvalidParameterTypes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php \Drupal\Tests\Core\Access\CsrfTokenGeneratorTest::providerTestInvalidParameterTypes()
Provides data for testInvalidParameterTypes.
Return value
array An array of data used by the test.
File
- core/
tests/ Drupal/ Tests/ Core/ Access/ CsrfTokenGeneratorTest.php, line 193 - Contains \Drupal\Tests\Core\Access\CsrfTokenGeneratorTest.
Class
- CsrfTokenGeneratorTest
- Tests the CsrfTokenGenerator class.
Namespace
Drupal\Tests\Core\AccessCode
public function providerTestInvalidParameterTypes() {
return array(
array(
NULL,
new \stdClass(),
),
array(
0,
array(),
),
array(
'',
array(),
),
array(
array(),
array(),
),
);
}