createProfile example

$this->connection = KernelLifecycleManager::getConnection();

        $profile = $this->fetchProfile();
        static::assertIsArray($profile);
        $this->oldMapping = $profile['mapping'];
    }

    protected function tearDown(): void
    {
        $profile = $this->fetchProfile();
        if (!$profile) {
            $this->createProfile();
        }
    }

    public function testTimestampIsCorrect(): void
    {
        $migration = new Migration1676272001AddAccountTypeToCustomerProfileImportExport();
        static::assertEquals('1676272001', $migration->getCreationTimestamp());
    }

    public function testPreventUpdateIfProfileNotExists(): void
    {
        
Home | Imprint | This part of the site doesn't use cookies.