mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Add MOE equivalences for pushes on 2016-10-19
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136617858
This commit is contained in:
parent
8bf268efc2
commit
fd09d825e3
2 changed files with 4 additions and 2 deletions
|
@ -475,6 +475,7 @@ public class RdapDomainSearchActionTest {
|
|||
public void testDomainMatchWithWildcardAndEmptySuffix_fails() throws Exception {
|
||||
// Unfortunately, we can't be sure which error is going to be returned. The version of
|
||||
// IDN.toASCII used in Eclipse drops a trailing dot, if any. But the version linked in by
|
||||
// Blaze throws an error in that situation. So just check that it returns an error.
|
||||
generateActualJson(RequestType.NAME, "exam*..");
|
||||
assertThat(response.getStatus()).isIn(Range.closed(400, 499));
|
||||
}
|
||||
|
@ -551,7 +552,7 @@ public class RdapDomainSearchActionTest {
|
|||
}
|
||||
persistResources(domainsBuilder.build());
|
||||
}
|
||||
|
||||
|
||||
private Object readMultiDomainFile(
|
||||
String fileName,
|
||||
String domainName1,
|
||||
|
@ -987,7 +988,7 @@ public class RdapDomainSearchActionTest {
|
|||
.isEqualTo(generateExpectedJson("No domains found", null, null, "rdap_error_404.json"));
|
||||
assertThat(response.getStatus()).isEqualTo(404);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void testAddressMatch_nontruncatedResultsSet() throws Exception {
|
||||
createManyDomainsAndHosts(4, 1, 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue