$this->connection = KernelLifecycleManager::
getConnection();
} protected function tearDown(): void
{ $this->connection->
executeStatement('DELETE FROM `customer_address`'
);
$this->connection->
executeStatement('DELETE FROM `customer`'
);
} public function testTimestampIsCorrect(): void
{ $migration =
new Migration1676272000AddAccountTypeToCustomer();
static::
assertEquals('1676272000',
$migration->
getCreationTimestamp());
} public function testAddAccountType(): void
{ $this->
dropAccountType();
$migration =
new Migration1676272000AddAccountTypeToCustomer();
$migration->
update($this->connection
);
static::
assertTrue(EntityDefinitionQueryHelper::
columnExists($this->connection, 'customer', 'account_type'
));
}