mirror of
https://github.com/google/nomulus
synced 2026-09-19 14:34:18 +00:00
Prefer @Inject over static for async flow Clock
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122555766
This commit is contained in:
committed by
Justine Tunney
parent
767c00c2ca
commit
4854f875b0
@@ -76,8 +76,8 @@ public abstract class DeleteEppResourceActionTestCase<T extends DeleteEppResourc
|
||||
action = deleteEppResourceAction;
|
||||
action.mrRunner = new MapreduceRunner(Optional.<Integer>absent(), Optional.<Integer>absent());
|
||||
action.response = new FakeResponse();
|
||||
action.clock = clock;
|
||||
inject.setStaticField(Ofy.class, "clock", clock);
|
||||
inject.setStaticField(DeleteEppResourceAction.class, "clock", clock);
|
||||
|
||||
createTld("tld");
|
||||
contactUsed = persistActiveContact("blah1234");
|
||||
|
||||
Reference in New Issue
Block a user