mirror of
https://github.com/google/nomulus.git
synced 2025-06-05 20:17:27 +02:00
Make Hello flows use the flow "now" time
This cleans up some of the tests, and helps with future injection CLs. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124208164
This commit is contained in:
parent
81dc55ceab
commit
5a2f63cf58
7 changed files with 30 additions and 19 deletions
|
@ -288,7 +288,9 @@ public abstract class FlowTestCase<F extends Flow> {
|
|||
CommitMode commitMode, UserPrivileges userPrivileges, String xml, String... ignoredPaths)
|
||||
throws Exception {
|
||||
EppOutput eppOutput = getFlowRunner().run(commitMode, userPrivileges);
|
||||
assertThat(eppOutput.isSuccess()).isTrue();
|
||||
if (eppOutput.isResponse()) {
|
||||
assertThat(eppOutput.isSuccess()).isTrue();
|
||||
}
|
||||
try {
|
||||
assertXmlEquals(
|
||||
xml, new String(marshal(eppOutput, ValidationMode.STRICT), UTF_8), ignoredPaths);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue