You are here

EverythingInvalidationTest.php in Purge 8.3

File

tests/src/Kernel/Invalidation/EverythingInvalidationTest.php
View 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',
  ];

}