mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 09:16:47 +00:00
Update PaymentsControllerTest
This commit is contained in:
1 parent
6c6e6a4975
commit
372e131e25
1 file changed
+2
-1
+2
-1
@@ -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)}");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user