Migration1662533751AddCustomEntityTypeIdToCategory example


class Migration1662533751AddCustomEntityTypeIdToCategoryTest extends TestCase
{
    public function testGetCreationTimestamp(): void
    {
        $expectedTimestamp = 1662533751;
        $migration = new Migration1662533751AddCustomEntityTypeIdToCategory();

        static::assertEquals($expectedTimestamp$migration->getCreationTimestamp());
    }

    public function testMultipleExecutions(): void
    {
        $connection = KernelLifecycleManager::getConnection();
        $migration = new Migration1662533751AddCustomEntityTypeIdToCategory();

        $migration->update($connection);
        $migration->update($connection);

        
Home | Imprint | This part of the site doesn't use cookies.