function FileStorageTest::testCRUD

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

Tests basic load/save/delete operations.

@covers ::load @covers ::save @covers ::exists @covers ::delete

File

core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php, line 49

Class

FileStorageTest
@coversDefaultClass \Drupal\Component\PhpStorage\FileStorage @group Drupal @group PhpStorage

Namespace

Drupal\Tests\Component\PhpStorage

Code

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

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