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.

void
assertRecipesImported(EntityStorageInterface $node_storage)

Assert recipes are imported.

void
assertArticlesImported(EntityStorageInterface $node_storage)

Assert articles are imported.

void
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 void assertRecipesImported(EntityStorageInterface $node_storage)

Assert recipes are imported.

Parameters

EntityStorageInterface $node_storage

Node storage.

Return Value

void

protected void assertArticlesImported(EntityStorageInterface $node_storage)

Assert articles are imported.

Parameters

EntityStorageInterface $node_storage

Node storage.

Return Value

void

protected void assertImportedCustomBlock(EntityStorageInterface $block_storage)

Assert block content are imported.

Parameters

EntityStorageInterface $block_storage

Block storage.

Return Value

void

protected expectedBlocks()

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