mirror of
https://github.com/google/nomulus.git
synced 2025-06-29 15:53:35 +02: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:
parent
1bb655267c
commit
0de2b06621
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ function testVisitContact() {
|
||||||
' </response>' +
|
' </response>' +
|
||||||
'</epp>'
|
'</epp>'
|
||||||
});
|
});
|
||||||
assertEquals(3, $('contact-postalInfo').childNodes.length);
|
assertEquals(2, $('contact-postalInfo').childNodes.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -131,5 +131,5 @@ function testAddPostalInfo() {
|
||||||
assertNull(addPiBtn.getAttribute('disabled'));
|
assertNull(addPiBtn.getAttribute('disabled'));
|
||||||
registry.testing.click(addPiBtn);
|
registry.testing.click(addPiBtn);
|
||||||
assertTrue(addPiBtn.hasAttribute('disabled'));
|
assertTrue(addPiBtn.hasAttribute('disabled'));
|
||||||
assertEquals(4, $('contact-postalInfo').childNodes.length);
|
assertEquals(3, $('contact-postalInfo').childNodes.length);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue