0
0
mirror of https://github.com/mueller-ma/PrepaidBalance.git synced 2024-09-19 16:02:14 +02:00

Ignore service message of Vodafone (#250)

Closes #249
This commit is contained in:
mueller-ma 2023-11-05 12:07:53 +01:00 committed by GitHub
parent 58fc75b8f3
commit 3e49d75740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,8 @@ class NoBalanceParser : AbstractParser("Response without balance") {
companion object {
private val NO_BALANCE_START = listOf(
"Tu solicitud no puede ser tramitada en este momento"
"Tu solicitud no puede ser tramitada en este momento",
"Dieser Service steht auf Grund von Wartungsarbeiten leider erst"
)
}
}

View File

@ -12,7 +12,8 @@ class ResponseParserTest {
null,
"",
"foobar",
"Tu solicitud no puede ser tramitada en este momento. Por favor vuelve a ingresar llamando al *888#"
"Tu solicitud no puede ser tramitada en este momento. Por favor vuelve a ingresar llamando al *888#",
"Dieser Service steht auf Grund von Wartungsarbeiten leider erst ab 9 Uhr wieder zur Verfügung."
).forEach { message ->
assertNull(ResponseParser.getBalance(message))
}