'itemRounding' =>
json_decode(json_encode(new CashRoundingConfig(2, 0.05, true
), \JSON_THROW_ON_ERROR
), true, 512, \JSON_THROW_ON_ERROR
),
'totalRounding' =>
json_decode(json_encode(new CashRoundingConfig(2, 0.05, true
), \JSON_THROW_ON_ERROR
), true, 512, \JSON_THROW_ON_ERROR
),
],
];
$this->
getContainer() ->
get('currency.repository'
) ->
upsert($currencies,
$this->context
);
$this->
createData();
$this->
indexElasticSearch();
$criteria =
new Criteria();
$criteria->
addFilter( new NandFilter([new EqualsFilter('salesChannelDomains.id', null
)]) );
if (Feature::
isActive('ES_MULTILINGUAL_INDEX'
)) { $index =
$this->helper->
getIndexName($this->productDefinition
);
$exists =
$this->client->
indices()->
exists(['index' =>
$index]);
static::
assertTrue($exists, 'Expected elasticsearch indices present'
);
}