Browse Source

Extended: test_buildCompleteItem() by validQuantity Test

feature-pr/shop
Maxim Volkov 3 years ago
parent
commit
a7fdc436a9
  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

@ -64,5 +64,8 @@ public class ItemTest extends TestCase {
boolean validTitle = itemNotNull.getTitel().equals(expectedTitel);
assertTrue(validTitle);
boolean validQuantity = itemNotNull.getCurrentStock() == expectedQuantity;
assertTrue(validQuantity);
}
}
Loading…
Cancel
Save