mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
qual: Update ProfidLibTest.php - uncomment line testing that BE TIN shall start by 0 or 1
Since PR#27829 has been merged, we can now uncomment the line testing that a the Belgium Tax Identification Number shall start by 0 or 1.
This commit is contained in:
parent
92cf4f2fd1
commit
ec3687528e
|
|
@ -252,7 +252,7 @@ class ProfidLibTest extends PHPUnit\Framework\TestCase
|
|||
$this->assertTrue(isValidTinForBE("0123.123.123"));
|
||||
$this->assertTrue(isValidTinForBE("1234.123.123"));
|
||||
// Tests NOK
|
||||
//$this->assertFalse(isValidTinForBE("2345.123.123")); // First digit shall be 0 or 1
|
||||
$this->assertFalse(isValidTinForBE("2345.123.123")); // First digit shall be 0 or 1
|
||||
$this->assertFalse(isValidTinForBE("1234 123 123")); // formatted with spaces instead of dots
|
||||
$this->assertFalse(isValidTinForBE("1234123123")); // without dots formatting
|
||||
$this->assertFalse(isValidTinForBE("ABCD.123.123")); // not digits only
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user