publicfunctiontestDuplicateProductConfiguratorSettingsSortedByUuid(): void { // drop unique index for testing purposes
$this->connection->rollBack(); $this->revertMigration(); $this->connection->beginTransaction();
// property group with highest value UUID should be returned
$propertyGroups = $this->loader->load($salesChannelProduct, $this->context); static::assertEquals(1, $propertyGroups->count()); $propertyGroup = $propertyGroups->first(); static::assertEquals(1, $propertyGroup->getOptions()->count()); $option = $propertyGroup->getOptions()->first(); static::assertSame('00000000000000000000000000000999', $option->getConfiguratorSetting()->getId());