mirror of
https://github.com/google/nomulus
synced 2026-09-09 09:36:12 +00:00
Rename Response in the epp model to EppResponse
So that it doesn't conflict with request.Response. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124595393
This commit is contained in:
committed by
Justine Tunney
parent
0ce293325c
commit
7cf4ddce97
@@ -25,7 +25,7 @@ import google.registry.model.eppcommon.StatusValue;
|
||||
import google.registry.model.eppinput.EppInput;
|
||||
import google.registry.model.eppinput.EppInput.ResourceCommandWrapper;
|
||||
import google.registry.model.eppoutput.EppOutput;
|
||||
import google.registry.model.eppoutput.Response;
|
||||
import google.registry.model.eppoutput.EppResponse;
|
||||
import google.registry.model.host.HostCommand;
|
||||
import google.registry.model.host.HostResource;
|
||||
import google.registry.testing.AppEngineRule;
|
||||
@@ -52,7 +52,7 @@ public class StatusValueAdapterTest {
|
||||
// ripping it out of the marshalled xml. Use lenient marshalling so we can omit other fields.
|
||||
String marshalled = new String(
|
||||
EppXmlTransformer.marshal(
|
||||
EppOutput.create(new Response.Builder()
|
||||
EppOutput.create(new EppResponse.Builder()
|
||||
.setResData(ImmutableList.of(new HostResource.Builder()
|
||||
.addStatusValue(StatusValue.CLIENT_UPDATE_PROHIBITED)
|
||||
.build()))
|
||||
|
||||
Reference in New Issue
Block a user