Merge branch 'dev' of https://git.verdnatura.es/salix into dev

This commit is contained in:
gerard 2018-08-22 08:25:03 +02:00
commit 0fcbb383ee
1 changed files with 0 additions and 20 deletions

View File

@ -39,26 +39,6 @@ describe('TIN validation', () => {
});
});
xdescribe('French', () => {
it('should return true for valid french TIN', () => {
let isValid = validateDni('012345678', 'fr');
expect(isValid).toBeTruthy();
});
it('should return false for french TIN with exceeded digits', () => {
let isValid = validateDni('1B123456789101234', 'fr');
expect(isValid).toBeFalsy();
});
it('should return false for french TIN with bad syntax', () => {
let isValid = validateDni('1B12345678A', 'fr');
expect(isValid).toBeFalsy();
});
});
describe('Italian', () => {
it('should return true for valid italian TIN', () => {
let isValid = validateDni('12345678911', 'it');