@@ -21,22 +21,22 @@ final class BoBankAccountTest extends TestCase
21
21
public function testIsValid (): void
22
22
{
23
23
static ::assertFalse ((new BoBankAccount ('' ))->isValid ());
24
- static ::assertFalse ((new BoBankAccount ('111111111 ' ))->isValid ());
24
+ static ::assertFalse ((new BoBankAccount ('WQE+ 111111111 ' ))->isValid ());
25
25
static ::assertFalse ((new BoBankAccount ('AAAAA0000 ' ))->isValid ());
26
- static ::assertFalse ((new BoBankAccount ('01340946340001361695 ' ))->isValid ());
27
- static ::assertFalse ((new BoBankAccount ('AAAAA0000 ' ))->isValid ());
28
- static ::assertFalse ((new BoBankAccount ('01050194651194-079423 ' ))->isValid ());
29
- static ::assertFalse ((new BoBankAccount ('01050194651194079423 More text? ' ))->isValid ());
30
- static ::assertTrue ((new BoBankAccount ('ASD+1234567891234567891234 ' ))->isValid ());
26
+ static ::assertFalse ((new BoBankAccount ('ASD+013409 ' ))->isValid ());
27
+ static ::assertFalse ((new BoBankAccount ('ASD+0105019465114-07 ' ))->isValid ());
28
+ static ::assertFalse ((new BoBankAccount ('ASD+0105019465119407 More text? ' ))->isValid ());
29
+ static ::assertTrue ((new BoBankAccount ('ASD+12345678913423511616125234567 ' ))->isValid ());
30
+ static ::assertTrue ((new BoBankAccount ('ASD+2345678912 ' ))->isValid ());
31
31
}
32
32
33
33
public function testBankName (): void
34
34
{
35
- static ::assertNull ((new BoBankAccount ('00050194697194012294 ' ))->getBankName ());
35
+ static ::assertNull ((new BoBankAccount ('00050194697194 ' ))->getBankName ());
36
36
}
37
37
38
38
public function testAccountTile (): void
39
39
{
40
- static ::assertSame ('CCI ' , (new BoBankAccount ('01050194697194012294 ' ))->getAccountTile ());
40
+ static ::assertSame ('CCI ' , (new BoBankAccount ('01050194697194 ' ))->getAccountTile ());
41
41
}
42
42
}
0 commit comments