aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-09-01 11:33:40 -0300
committerTorsten Grote <t@grobox.de>2020-09-01 11:33:40 -0300
commit6f304b20e6f1410753a02221625ec7cce30434fd (patch)
treed6ed5c9f44e5bd6d0ce9e202d078e2975702d7f6
parentaccae1d669ec0a90cb040a6479624d622956e667 (diff)
downloadtaler-android-6f304b20e6f1410753a02221625ec7cce30434fd.tar.gz
taler-android-6f304b20e6f1410753a02221625ec7cce30434fd.tar.bz2
taler-android-6f304b20e6f1410753a02221625ec7cce30434fd.zip
[wallet] adapt WalletResponseTest to new error format
-rw-r--r--wallet/src/test/java/net/taler/wallet/backend/WalletResponseTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/wallet/src/test/java/net/taler/wallet/backend/WalletResponseTest.kt b/wallet/src/test/java/net/taler/wallet/backend/WalletResponseTest.kt
index a88b203..e2389d8 100644
--- a/wallet/src/test/java/net/taler/wallet/backend/WalletResponseTest.kt
+++ b/wallet/src/test/java/net/taler/wallet/backend/WalletResponseTest.kt
@@ -57,8 +57,8 @@ class WalletResponseTest {
fun testWalletErrorInfo() {
val infoJson = """
{
- "talerErrorCode":7001,
- "talerErrorHint":"Error: WALLET_UNEXPECTED_EXCEPTION",
+ "code":7001,
+ "hint":"Error: WALLET_UNEXPECTED_EXCEPTION",
"details":{
"httpStatusCode": 401,
"requestUrl": "https:\/\/backend.demo.taler.net\/-\/FSF\/orders\/2020.224-02XC8W52BHH3G\/claim",