mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-08 08:08:05 +01:00
0 is a legal price now, reflect that in the tests
This commit is contained in:
parent
a427c8c5a0
commit
f044938b80
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user