mirror of
https://github.com/google/nomulus
synced 2026-03-27 21:05:32 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user