],
$this->context
);
$migration =
new Migration1612442786ChangeVersionOfDocuments();
$migration->
update($this->connection
);
/** @var DocumentEntity $document */
$document =
$documentRepository->
search(new Criteria([$documentStruct->
getId()]),
$this->context
)->
first();
static::
assertEquals(Defaults::LIVE_VERSION,
$document->
getOrderVersionId());
} /**
* @throws CartException
* @throws \Exception
*/
private function generateDemoCart(int
$lineItemCount): Cart
{ $cart =
new Cart('a-b-c'
);
$keywords =
['awesome', 'epic', 'high quality'
];