beatrix: fix test setup
@@ -57,6 +57,7 @@ import org.killbill.notificationq.api.NotificationQueueService.NoSuchNotificatio
import org.killbill.queue.retry.RetryNotificationEvent;
import org.killbill.queue.retry.RetryableService;
import org.testng.annotations.BeforeClass;
+import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import com.google.common.base.Predicate;
@@ -99,6 +100,11 @@ public class TestWithInvoicePlugin extends TestIntegrationBase {
}, testInvoicePluginApi);
}
+ @BeforeMethod(groups = "slow")
+ public void setUp() throws Exception {
+ testInvoicePluginApi.additionalInvoiceItem = null;
+ }
+
@Test(groups = "slow")
public void testBasicAdditionalExternalChargeItem() throws Exception {
// We take april as it has 30 days (easier to play with BCD)
