Skip to content

Commit 306829c

Browse files
committed
get away this test case since new URI does not throw now
1 parent 86b7726 commit 306829c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/bambora-payment-starter/src/test/java/ca/bc/gov/open/bambora/payment/starter/managment/BamboraCardServiceImplTest.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ public void withoutClientIdCreateUpdateUrl() {
6666
Assertions.assertTrue(actual.toString().contains(BAMBORA_NEW_URL));
6767
}
6868

69-
@Test
70-
@DisplayName("With invalid paramter throw invalid url exception")
71-
public void withInvalidParamterThrowException() {
72-
bamboraProperties.setHostedProfileUrl("NOTAURL");
73-
sut = new BamboraCardServiceImpl(bamboraProperties);
74-
Assertions.assertThrows(BamboraException.class, () -> sut.setupRecurringPayment(createPaymentDetail(END_USER_ID)));
75-
}
76-
7769
private RecurringPaymentDetails createPaymentDetail(String endUserId) {
7870
return RecurringPaymentDetails.builder()
7971
.orderNumber(ORDERNUM)

0 commit comments

Comments
 (0)