->
get(CustomEntitySchemaUpdater::
class) ->
update();
$schema =
$this->
getSchema();
self::
assertColumns($schema, 'custom_entity_blog',
['id', 'created_at', 'updated_at', 'rating', 'payload', 'email'
]);
self::
assertColumns($schema, 'ce_blog_comment',
['id', 'created_at', 'updated_at', 'email'
]);
static::
assertFalse($schema->
getTable('product'
)->
hasColumn('ce_blog_comment_products_reverse_id'
));
static::
assertFalse($schema->
getTable('product'
)->
hasColumn('custom_entity_to_remove_products_reverse_id'
));
static::
assertFalse($schema->
hasTable('custom_entity_blog_product'
));
static::
assertFalse($schema->
hasTable('custom_entity_to_remove'
));
self::
cleanUp($this->
getContainer());
} public function testAllowDisableIsTrueIfNoRestrictDeleteIsUsed(): void
{ $this->
loadAppsFromDir(__DIR__ . '/_fixtures/without-restrict-delete'
);
$container = KernelLifecycleManager::
bootKernel()->
getContainer();