Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dili91 committed May 16, 2024
1 parent 1930170 commit 6584cbf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/workflow-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: ./.github/workflows/acceptance-tests.yml
with:
checkout_ref: ${{ github.ref }}
notify_slack_on_failure: true #TODO: remove
secrets:
tl_client_id: ${{ secrets.ACCEPTANCE_TEST_CLIENT_ID }}
tl_client_secret: ${{ secrets.ACCEPTANCE_TEST_CLIENT_SECRET }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import okhttp3.RequestBody;
import okhttp3.Response;
import org.apache.commons.lang3.ObjectUtils;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
Expand All @@ -54,6 +55,7 @@ public class MandatesAcceptanceTests extends AcceptanceTests {
@ParameterizedTest
@DisplayName("It should create a VRP mandate with preselected provider")
@MethodSource("provideMandatesScopesAndTypes")
@Disabled("TODO: remove")
@SneakyThrows
public void itShouldCreateAMandateWithPreselectedProvider(String mandatesScope, Mandate.Type mandateType) {
// create client with required scopes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public void shouldCreateAPaymentWithUserSelectionProvider() {
tlClient.paymentsProviders().getProvider(PROVIDER_ID).get();

assertNotError(getPaymentsProviderResponse);
assertEquals(getPaymentsProviderResponse.getData().getId(), PROVIDER_ID);
//assertEquals(getPaymentsProviderResponse.getData().getId(), PROVIDER_ID);
assertEquals(getPaymentsProviderResponse.getData().getId(), "a-random-provider-id");
}
}

0 comments on commit 6584cbf

Please sign in to comment.