function MTimeProtectedFileStorageBase::testCRUD

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageBase::testCRUD()
  2. 8.9.x core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageBase::testCRUD()
  3. 11.x core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageBase::testCRUD()

Tests basic load/save/delete operations.

File

core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php, line 65

Class

MTimeProtectedFileStorageBase
Base test class for MTime protected storage.

Namespace

Drupal\Tests\Component\PhpStorage

Code

public function testCRUD() : void {
    $php = new $this->storageClass($this->settings);
    $this->assertCRUD($php);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.