public function BlockStorageUnitTest::testBlockCRUD in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block/src/Tests/BlockStorageUnitTest.php \Drupal\block\Tests\BlockStorageUnitTest::testBlockCRUD()
Tests CRUD operations.
File
- core/
modules/ block/ src/ Tests/ BlockStorageUnitTest.php, line 47 - Contains \Drupal\block\Tests\BlockStorageUnitTest.
Class
- BlockStorageUnitTest
- Tests the storage of blocks.
Namespace
Drupal\block\TestsCode
public function testBlockCRUD() {
$this
->assertTrue($this->controller instanceof ConfigEntityStorage, 'The block storage is loaded.');
// Run each test method in the same installation.
$this
->createTests();
$this
->loadTests();
$this
->deleteTests();
}