Commit 8d65d141 authored by slashrsm's avatar slashrsm

by slashrsm: Fix tests.

parent fd6e1400
......@@ -21,6 +21,20 @@ class EntityEmbedUpdateHookTest extends UpdatePathTestBase {
];
}
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$button = $this->container
->get('entity_type.manager')
->getDefinition('embed_button');
$this->container
->get('entity.last_installed_schema.repository')
->setLastInstalledDefinition($button);
}
/**
* {@inheritdoc}
*/
......
......@@ -24,6 +24,7 @@ $extensions = $connection->select('config')
->fetchField();
$extensions = unserialize($extensions);
$extensions['module']['entity_embed'] = 8001;
$extensions['module']['embed'] = 8000;
$connection->update('config')
->fields([
'data' => serialize($extensions),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment