Fix foss build

When the domain-contact-postalInfos-footer was self-closed, the resulting contact-postalInfo element improperly included the following hidden input tag. Now that the tag is properly closed, the number of elements in contact-postalInfo should be reduced by 1 (the currently expected numbers are wrong and supposedly were there to have the tests pass).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=169096690
This commit is contained in:
jianglai 2017-09-18 09:04:00 -07:00
parent 1bb655267c
commit 0de2b06621

View file

@ -110,7 +110,7 @@ function testVisitContact() {
' </response>' +
'</epp>'
});
assertEquals(3, $('contact-postalInfo').childNodes.length);
assertEquals(2, $('contact-postalInfo').childNodes.length);
}
@ -131,5 +131,5 @@ function testAddPostalInfo() {
assertNull(addPiBtn.getAttribute('disabled'));
registry.testing.click(addPiBtn);
assertTrue(addPiBtn.hasAttribute('disabled'));
assertEquals(4, $('contact-postalInfo').childNodes.length);
assertEquals(3, $('contact-postalInfo').childNodes.length);
}