Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
tests: fixed some BankAccount tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnakaya committed Nov 8, 2017
1 parent 5879237 commit 2976321
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/br/com/moip/api/BankAccountAPITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void shouldGetOneAccount() {
@Play("bankaccounts/getlist")
@Test
public void shouldGetAccountList() {
List<BankAccount> createdBankAccounts = api.getList("BKA-E0BAC6D15696");
List<BankAccount> createdBankAccounts = api.getList("MPA-E0BAC6D15696");
assertEquals(4, createdBankAccounts.size());
assertEquals("BKA-P9O93Z6PKUTI", createdBankAccounts.get(0).getId());
assertEquals("BKA-W2WWYEI9GKG1", createdBankAccounts.get(1).getId());
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/plays/bankaccounts/getlist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
interactions:
-
request:
uri: /v2/accounts/BKA-E0BAC6D15696/bankaccounts
uri: /v2/accounts/MPA-E0BAC6D15696/bankaccounts
headers:
"Content-Type": application/json
Authorization: Basic MDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDEwMTAxMDE6QUJBQkFCQUJBQkFCQUJBQkFCQUJBQkFCQUJBQkFCQUJBQkFCQUJBQg==
Expand Down

0 comments on commit 2976321

Please sign in to comment.