class UninstallDefaultContentTest extends BrowserTestBase (View source)

Tests that uninstalling default content removes created content.

Properties

protected $profile {@inheritdoc}

Methods

testReinstall()

Tests uninstalling content removes created entities.

assertRecipesImported(EntityStorageInterface $node_storage)

Assert recipes are imported.

assertArticlesImported(EntityStorageInterface $node_storage)

Assert articles are imported.

assertImportedCustomBlock(EntityStorageInterface $block_storage)

Assert block content are imported.

expectedBlocks()

Returns the expected properties of this profile's custom blocks.

Details

testReinstall()

Tests uninstalling content removes created entities.

protected assertRecipesImported(EntityStorageInterface $node_storage)

Assert recipes are imported.

Parameters

EntityStorageInterface $node_storage

Node storage.

protected assertArticlesImported(EntityStorageInterface $node_storage)

Assert articles are imported.

Parameters

EntityStorageInterface $node_storage

Node storage.

protected assertImportedCustomBlock(EntityStorageInterface $block_storage)

Assert block content are imported.

Parameters

EntityStorageInterface $block_storage

Block storage.

protected expectedBlocks()

Returns the expected properties of this profile's custom blocks.