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
) ->
build() )