Migration1692254551FixMailTranslation example

/** * @internal * * @covers \Shopware\Core\Migration\V6_5\Migration1692254551FixMailTranslation */
class Migration1692254551FixMailTranslationTest extends TestCase
{
    use MigrationTestTrait;

    public function testCreationTimestamp(): void
    {
        $migration = new Migration1692254551FixMailTranslation();
        static::assertSame(1692254551, $migration->getCreationTimestamp());
    }

    public function testMailTemplatesUpdated(): void
    {
        $connection = KernelLifecycleManager::getConnection();

        $migration = new Migration1692254551FixMailTranslation();
        $migration->update($connection);

        $deLangId = $this->fetchLanguageId($connection, 'de-DE');
        
Home | Imprint | This part of the site doesn't use cookies.