You are here

public function ApcuBackendUnitTest::testInvalidate in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Cache/ApcuBackendUnitTest.php \Drupal\system\Tests\Cache\ApcuBackendUnitTest::testInvalidate()

Test Drupal\Core\Cache\CacheBackendInterface::invalidate() and Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().

Overrides GenericCacheBackendUnitTestBase::testInvalidate

File

core/modules/system/src/Tests/Cache/ApcuBackendUnitTest.php, line 164
Contains \Drupal\system\Tests\Cache\ApcuBackendUnitTest.

Class

ApcuBackendUnitTest
Tests the APCu cache backend.

Namespace

Drupal\system\Tests\Cache

Code

public function testInvalidate() {
  if ($this
    ->requirementsFail()) {
    return;
  }
  parent::testInvalidate();
}