mirror of
https://github.com/google/nomulus.git
synced 2025-05-18 18:29:36 +02:00
Turn Flow into an interface and inject all its fields
This concludes your flow flattening experience. Please fill out a flow flattening satisfaction survey before exiting. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=137903095
This commit is contained in:
parent
82b0bff9b5
commit
053538b1b5
49 changed files with 630 additions and 569 deletions
|
@ -52,7 +52,6 @@ import google.registry.model.eppcommon.StatusValue;
|
|||
import google.registry.model.eppcommon.Trid;
|
||||
import google.registry.model.eppoutput.EppOutput;
|
||||
import google.registry.model.eppoutput.EppResponse;
|
||||
import google.registry.model.eppoutput.Result;
|
||||
import google.registry.model.eppoutput.Result.Code;
|
||||
import google.registry.model.host.HostResource;
|
||||
import google.registry.model.ofy.RequestCapturingAsyncDatastoreService;
|
||||
|
@ -443,8 +442,8 @@ public class DomainResourceTest extends EntityTestCase {
|
|||
int numPreviousReads = RequestCapturingAsyncDatastoreService.getReads().size();
|
||||
EppXmlTransformer.marshal(
|
||||
EppOutput.create(new EppResponse.Builder()
|
||||
.setResult(Result.create(Code.SUCCESS))
|
||||
.setResData(ImmutableList.of(domain))
|
||||
.setResultFromCode(Code.SUCCESS)
|
||||
.setResData(domain)
|
||||
.setTrid(Trid.create(null, "abc"))
|
||||
.build()),
|
||||
ValidationMode.STRICT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue