killbill-memoizeit
Changes
beatrix/src/test/java/com/ning/billing/beatrix/integration/osgi/TestPaymentOSGIWithTestPaymentBundle.java 3(+2 -1)
pom.xml 9(+9 -0)
Details
diff --git a/beatrix/src/test/java/com/ning/billing/beatrix/integration/osgi/TestPaymentOSGIWithTestPaymentBundle.java b/beatrix/src/test/java/com/ning/billing/beatrix/integration/osgi/TestPaymentOSGIWithTestPaymentBundle.java
index c29c922..54dc510 100644
--- a/beatrix/src/test/java/com/ning/billing/beatrix/integration/osgi/TestPaymentOSGIWithTestPaymentBundle.java
+++ b/beatrix/src/test/java/com/ning/billing/beatrix/integration/osgi/TestPaymentOSGIWithTestPaymentBundle.java
@@ -159,10 +159,11 @@ public class TestPaymentOSGIWithTestPaymentBundle extends TestOSGIBase {
if (expectedException == null && expectedRuntimeException == null) {
expectedEvents.add(NextEvent.PAYMENT);
} else if (expectedException != null) {
+ //expectedEvents.add(NextEvent.PAYMENT_ERROR);
paymentPluginApi.setPaymentPluginApiExceptionOnNextCalls(expectedException);
} else if (expectedRuntimeException != null) {
+ //expectedEvents.add(NextEvent.PAYMENT_ERROR);
paymentPluginApi.setPaymentRuntimeExceptionOnNextCalls(expectedRuntimeException);
-
}
createSubscriptionAndCheckForCompletion(bundle.getId(), "Telescopic-Scope", ProductCategory.ADD_ON, BillingPeriod.MONTHLY, expectedEvents.toArray(new NextEvent[expectedEvents.size()]));
pom.xml 9(+9 -0)
diff --git a/pom.xml b/pom.xml
index 21ba07a..6760ffb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,4 +57,13 @@
<properties>
<killbill.version>${project.version}</killbill.version>
</properties>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>12.0</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
</project>