Fixed that colon is now a legal character
This commit is contained in:
parent
5003a5bffe
commit
2dda31ec38
|
@ -29,6 +29,16 @@ class SepaMessageCreatorTest {
|
|||
assertThat(result).isTrue()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `containsOnlyAllowedCharacters colon is a legal character`() {
|
||||
|
||||
// when
|
||||
val result = underTest.containsOnlyAllowedCharacters(":")
|
||||
|
||||
// then
|
||||
assertThat(result).isTrue()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `containsOnlyAllowedCharacters ! is an illegal character`() {
|
||||
|
||||
|
@ -59,16 +69,6 @@ class SepaMessageCreatorTest {
|
|||
assertThat(result).isFalse()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `containsOnlyAllowedCharacters colon is an illegal character`() {
|
||||
|
||||
// when
|
||||
val result = underTest.containsOnlyAllowedCharacters(":")
|
||||
|
||||
// then
|
||||
assertThat(result).isFalse()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `containsOnlyAllowedCharacters ö is an illegal character`() {
|
||||
|
||||
|
|
Loading…
Reference in New Issue