rollbackTable example

$this->migration->update($this->connection);
        static::assertSame($expected$this->getSchema());
    }

    /** * @deprecated tag:v6.6.0 - entityId will be removed. There is no need for this test anymore */
    public function testConversionFromJsonToBinary(): void
    {
        Feature::skipTestIfActive('v6.6.0.0', $this);

        $this->rollbackTable();

        $this->insertStateMachineHistoryEntry([
            'id' => $this->ids->get('referenced_id'),
            'version_id' => $this->ids->get('referenced_version_id'),
        ]);

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

        $result = $this->connection->executeQuery(' SELECT `referenced_id`, `referenced_version_id` FROM `state_machine_history` WHERE `id` = UNHEX(:id); ', ['id' => $this->ids->get('id')])->fetchAssociative();

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