You are here

public function ApcuBackendUnitTest::testValueTypeIsKept 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::testValueTypeIsKept()

Tests data type preservation.

Overrides GenericCacheBackendUnitTestBase::testValueTypeIsKept

File

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

Class

ApcuBackendUnitTest
Tests the APCu cache backend.

Namespace

Drupal\system\Tests\Cache

Code

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