dbHasTable example

'DELETE FROM plugin WHERE id = :id',
            ['id' => Uuid::fromHexToBytes($pluginEntity->getId())]
        );
    }

    /** * assert if all data and data structures are created as expected for this custom entity */
    private function assertCmsAwareAndAdminUiIsInstalled(AppEntity|PluginEntity $entity): void
    {
        static::assertTrue(
            $this->dbHasTable(self::CUSTOM_ENTITY_NAME),
            'The custom entity should be created'
        );

        static::assertEqualsCanonicalizing(
            [
                // fields every custom entity will have                 'id',
                'created_at',
                'updated_at',

                // cms-aware specific fields
Home | Imprint | This part of the site doesn't use cookies.