function FileStorageTest::testCRUD

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

Tests basic load/save/delete operations.

@legacy-covers ::load @legacy-covers ::save @legacy-covers ::exists @legacy-covers ::delete

File

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

Class

FileStorageTest
Tests Drupal\Component\PhpStorage\FileStorage.

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.