You are here

public function EntityEmbedUpdateHookTest::todotestPostUpdate in Entity Embed 8

Tests entity_embed_update_8002().

File

tests/src/Functional/EntityEmbedUpdateHookTest.php, line 50

Class

EntityEmbedUpdateHookTest
Tests the update hooks in entity_embed module.

Namespace

Drupal\Tests\entity_embed\Functional

Code

public function todotestPostUpdate() {
  $this
    ->runUpdates();
  $mode = $this->container
    ->get('config.factory')
    ->get('entity_embed.settings')
    ->get('rendered_entity_mode');
  $this
    ->assertTrue($mode, 'Render entity mode settings after update is correct.');
}