static::
assertContains('v.1.1',
$names);
static::
assertContains('v.1.2',
$names);
static::
assertNotContains('v.2.1',
$names);
static::
assertNotContains('v.2.2',
$names);
} private function prepareTestData(): void
{ $products =
[ (new ProductBuilder($this->ids, 'p.1'
)) ->
price(900
) ->
property('rot', 'Farbe'
) ->
property('grĂ¼n', 'Farbe'
) ->
visibility(TestDefaults::SALES_CHANNEL
) ->
prices('rule-a', 220, 'default', null, 3, true
) ->
variant( (new ProductBuilder($this->ids, 'v.1.1'
)) ->
build() ) ->
variant( (new ProductBuilder($this->ids, 'v.1.2'
)) ->
prices('rule-a', 210, 'default', null, 3, true
) ->
prices('rule-b', 501, 'default', null, 3, true
)