mirror of
https://github.com/mueller-ma/PrepaidBalance.git
synced 2024-09-20 00:12:15 +02:00
parent
58fc75b8f3
commit
3e49d75740
@ -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"
|
||||
)
|
||||
}
|
||||
}
|
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user