You are here

public function CacheContextsManagerTest::providerTestInvalidCalculatedContext in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest::providerTestInvalidCalculatedContext()

Provides a list of invalid 'baz' cache contexts: the parameter is missing.

File

core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php, line 135
Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest.

Class

CacheContextsManagerTest
@coversDefaultClass \Drupal\Core\Cache\Context\CacheContextsManager @group Cache

Namespace

Drupal\Tests\Core\Cache\Context

Code

public function providerTestInvalidCalculatedContext() {
  return [
    [
      'baz',
    ],
    [
      'baz:',
    ],
  ];
}