Closed 2ndGAB closed 7 years ago
I looked at the postcode test validation and I think there is a bad test:
Why
$this->assertTrue(FrValidation::postal('01001'));
and
$this->assertFalse(FrValidation::postal('01000')); // I think it's correct
But I think
$this->assertFalse(FrValidation::postal(' 1000')); // should assert false
I'll update it seems you're right. https://www.data.gouv.fr/fr/datasets/base-officielle-des-codes-postaux/
pr is open
I looked at the postcode test validation and I think there is a bad test:
Why
and
But I think