mirror of
https://github.com/google/nomulus.git
synced 2025-05-20 11:19:35 +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
|
@ -17,7 +17,6 @@ package google.registry.model.translators;
|
|||
import static com.google.common.truth.Truth.assertThat;
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import google.registry.flows.EppXmlTransformer;
|
||||
import google.registry.model.eppcommon.StatusValue;
|
||||
|
@ -51,9 +50,9 @@ public class StatusValueAdapterTest {
|
|||
String marshalled = new String(
|
||||
EppXmlTransformer.marshal(
|
||||
EppOutput.create(new EppResponse.Builder()
|
||||
.setResData(ImmutableList.of(new HostResource.Builder()
|
||||
.setResData(new HostResource.Builder()
|
||||
.addStatusValue(StatusValue.CLIENT_UPDATE_PROHIBITED)
|
||||
.build()))
|
||||
.build())
|
||||
.build()),
|
||||
ValidationMode.LENIENT),
|
||||
UTF_8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue