diff --git a/tests/Services/InfoProviderSystem/DTOtoEntityConverterTest.php b/tests/Services/InfoProviderSystem/DTOtoEntityConverterTest.php index d9544145..5a9002c3 100644 --- a/tests/Services/InfoProviderSystem/DTOtoEntityConverterTest.php +++ b/tests/Services/InfoProviderSystem/DTOtoEntityConverterTest.php @@ -70,11 +70,13 @@ class DTOtoEntityConverterTest extends WebTestCase price: "10.0", currency_iso_code: 'CNY', includes_tax: true, + price_related_quantity: 10.0, ); $entity = $this->service->convertPrice($dto); $this->assertEquals($dto->minimum_discount_amount, $entity->getMinDiscountQuantity()); $this->assertEquals((float) $dto->price, (float) (string) $entity->getPrice()); + $this->assertEquals($dto->price_related_quantity, $entity->getPriceRelatedQuantity()); //For non-base currencies, a new currency entity is created $currency = $entity->getCurrency();