Browse Source

Extended: test_buildCompleteItem() by validPrice Test

feature-pr/shop
Maxim Volkov 3 years ago
parent
commit
235e72665a
  1. 3
      projjpn/src/test/java/de/hs_fulda/ciip/projjpn/ItemTest.java

3
projjpn/src/test/java/de/hs_fulda/ciip/projjpn/ItemTest.java

@ -67,5 +67,8 @@ public class ItemTest extends TestCase {
boolean validQuantity = itemNotNull.getCurrentStock() == expectedQuantity; boolean validQuantity = itemNotNull.getCurrentStock() == expectedQuantity;
assertTrue(validQuantity); assertTrue(validQuantity);
boolean validPrice = itemNotNull.getCurrentPrice() == expectedPrice;
assertTrue(validPrice);
} }
} }
Loading…
Cancel
Save