function FileStorageTest::testCRUD
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php \Drupal\Tests\Component\PhpStorage\FileStorageTest::testCRUD()
- 8.9.x core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php \Drupal\Tests\Component\PhpStorage\FileStorageTest::testCRUD()
- 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\PhpStorageCode
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.