public function ChainRequestPolicyTest::providerAllowIfAnyRuleReturnedAllow in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php \Drupal\Tests\Core\PageCache\ChainRequestPolicyTest::providerAllowIfAnyRuleReturnedAllow()
Provides test data for testAllowIfAnyRuleReturnedAllow.
Return value
array Test input and expected result.
File
- core/
tests/ Drupal/ Tests/ Core/ PageCache/ ChainRequestPolicyTest.php, line 131 - Contains \Drupal\Tests\Core\PageCache\ChainRequestPolicyTest.
Class
- ChainRequestPolicyTest
- @coversDefaultClass \Drupal\Core\PageCache\ChainRequestPolicy @group PageCache
Namespace
Drupal\Tests\Core\PageCacheCode
public function providerAllowIfAnyRuleReturnedAllow() {
return [
[
[
RequestPolicyInterface::ALLOW,
],
],
[
[
NULL,
RequestPolicyInterface::ALLOW,
],
],
];
}