0 is a legal price now, reflect that in the tests

This commit is contained in:
Phoenix616 2020-05-06 22:00:15 +01:00
parent a427c8c5a0
commit f044938b80
1 changed files with 0 additions and 4 deletions

View File

@ -98,10 +98,6 @@ public class PriceCheckerTest {
onPreShopCreation(event);
assertTrue(event.isCancelled());
event = new PreShopCreationEvent(null, null, getPriceString("B 0"));
onPreShopCreation(event);
assertTrue(event.isCancelled());
String priceString = "5 B 5";
assertEquals(PriceUtil.getExactBuyPrice(priceString), PriceUtil.NO_PRICE);