Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Brandenstein committed Dec 19, 2019
1 parent 6e5faf5 commit 6267e9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void count(String tag, String bankCode, BankApi bankApi) {

public void count(String tag, String bankCode, BankApi bankApi, Throwable exception) {
meterRegistry.counter(tag, Tags.of(Tag.of("bank_code", bankCode),
Tag.of("bank_api", bankApi.toString()),
Tag.of("bank_api", bankApi == null ? "undefined" : bankApi.toString()),
Tag.of("outcome", exception == null ? "SUCCESS" : "ERROR"),
getExceptionTag(exception))
).increment();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public void consent_authorisation_ing() {
assertThat(jsonPath.getString("bookings")).isNotBlank();
}

// @Ignore("uses real data - please setup ENV")
@Ignore("uses real data - please setup ENV")
@Test
public void consent_authorisation_bankinggateway() {
ConsentTO consentTO = createConsentTO();
Expand Down Expand Up @@ -516,7 +516,7 @@ public void verifyApiConsentStatusValid() {
assertThat(loadBookingsResponse.getBookings()).isNotEmpty();
}

// @Ignore("uses real data - please setup ENV")
@Ignore("uses real data - please setup ENV")
@Test
public void consent_authorisation_bankinggateway_oauth() {
ConsentTO consentTO = createConsentTO();
Expand Down

0 comments on commit 6267e9f

Please sign in to comment.