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() ) ->
build(),
(new ProductBuilder($this->ids, 'p.2'
))