Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ToX82 committed Jan 15, 2022
1 parent 7a15aff commit a2795b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Validate/Test.php → tests/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public function testCheckValids()
$this->assertTrue(VatNumber::check('IE', '1234567XX'));
$this->assertTrue(VatNumber::check('IT', '00154189997'));
$this->assertTrue(VatNumber::check('LV', '12345678901'));
$this->assertTrue(VatNumber::check('IT', '01573850516'));
$this->assertTrue(VatNumber::check('LT', '123456789'));
$this->assertTrue(VatNumber::check('LT', '123456789012'));
$this->assertTrue(VatNumber::check('LU', '12345678'));
Expand Down Expand Up @@ -105,7 +106,7 @@ public function testCheckWithInvalidLength()
public function testCheckWithInvalidCharacters()
{
$this->assertFalse(VatNumber::check('AT', 'A12345678'));
$this->assertFalse(VatNumber::check('IT', 'IT00154189997'));
$this->assertFalse(VatNumber::check('IT', '01573850514'));
$this->assertFalse(VatNumber::check('NO', '123456789MV'));
}
}

0 comments on commit a2795b6

Please sign in to comment.