Update `PaymentsControllerTest`
This commit is contained in:
parent
6c6e6a4975
commit
372e131e25
|
@ -126,7 +126,8 @@ class PaymentsControllerTest {
|
|||
.header("Authorization", AuthHelper.getAuthHeader(AuthHelper.VALID_UUID, AuthHelper.VALID_PASSWORD))
|
||||
.get(String.class);
|
||||
|
||||
assertThat(json.contains("{\"USD\":2.35,\"EUR\":1.89}"));
|
||||
// the currency serialization might occur in either order
|
||||
assertThat(json).containsPattern("\\{(\"EUR\":1.89,\"USD\":2.35|\"USD\":2.35,\"EUR\":1.89)}");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue