EverythingInvalidationTest.php in Purge 8.3
Namespace
Drupal\Tests\purge\Kernel\InvalidationFile
tests/src/Kernel/Invalidation/EverythingInvalidationTest.phpView source
<?php
namespace Drupal\Tests\purge\Kernel\Invalidation;
/**
* Tests \Drupal\purge\Plugin\Purge\Invalidation\EverythingInvalidation.
*
* @group purge
*/
class EverythingInvalidationTest extends PluginTestBase {
/**
* The plugin ID of the invalidation type being tested.
*
* @var string
*/
protected $pluginId = 'everything';
/**
* String expressions valid to the invalidation type being tested.
*
* @var null|mixed[]
*/
protected $expressions = [
NULL,
];
/**
* String expressions invalid to the invalidation type being tested.
*
* @var null|mixed[]
*/
protected $expressionsInvalid = [
'',
'foobar',
];
}