mirror of
https://github.com/google/nomulus.git
synced 2025-05-30 17:24:03 +02:00
Update the rdapConformance and notices fields
We're changing rdapConformance from rdap_level_0 to icann_rdap_response_profile_0, and changing the EPP status notices title from "EPP Status Codes" to "Status Codes" to conform with the changing spec. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=241527211
This commit is contained in:
parent
822c1d129f
commit
55673ceb2d
38 changed files with 47 additions and 47 deletions
|
@ -97,7 +97,7 @@ public class RdapActionBaseTest extends RdapActionBaseTestCase<RdapActionBaseTes
|
|||
public void testIllegalValue_showsReadableTypeName() {
|
||||
assertThat(generateActualJson("IllegalArgumentException")).isEqualTo(JSONValue.parse(
|
||||
"{\"lang\":\"en\", \"errorCode\":400, \"title\":\"Bad Request\","
|
||||
+ "\"rdapConformance\":[\"rdap_level_0\"],"
|
||||
+ "\"rdapConformance\":[\"icann_rdap_response_profile_0\"],"
|
||||
+ "\"description\":[\"Not a valid human-readable string\"]}"));
|
||||
assertThat(response.getStatus()).isEqualTo(400);
|
||||
}
|
||||
|
@ -106,7 +106,7 @@ public class RdapActionBaseTest extends RdapActionBaseTestCase<RdapActionBaseTes
|
|||
public void testRuntimeException_returns500Error() {
|
||||
assertThat(generateActualJson("RuntimeException")).isEqualTo(JSONValue.parse(
|
||||
"{\"lang\":\"en\", \"errorCode\":500, \"title\":\"Internal Server Error\","
|
||||
+ "\"rdapConformance\":[\"rdap_level_0\"],"
|
||||
+ "\"rdapConformance\":[\"icann_rdap_response_profile_0\"],"
|
||||
+ "\"description\":[\"An error was encountered\"]}"));
|
||||
assertThat(response.getStatus()).isEqualTo(500);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue