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:
Corey Goldfeder 2016-06-06 20:41:37 -07:00 committed by Justine Tunney
parent 81dc55ceab
commit 5a2f63cf58
7 changed files with 30 additions and 19 deletions

View file

@ -22,6 +22,6 @@ import google.registry.model.eppoutput.Greeting;
public class HelloFlow extends Flow {
@Override
public EppOutput run() {
return EppOutput.create(new Greeting());
return EppOutput.create(Greeting.create(now));
}
}