You are here

protected property PathInvalidationTest::$expressions in Purge 8.3

String expressions valid to the invalidation type being tested.

Type: null|mixed[]

Overrides PluginTestBase::$expressions

File

tests/src/Kernel/Invalidation/PathInvalidationTest.php, line 24

Class

PathInvalidationTest
Tests \Drupal\purge\Plugin\Purge\Invalidation\PathInvalidation.

Namespace

Drupal\Tests\purge\Kernel\Invalidation

Code

protected $expressions = [
  '',
  '?page=0',
  'news',
  'news/',
  '012/442',
  'news/article-1',
  'news/article-1?page=0&secondparam=1',
];