mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 18:26:12 +02: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:
parent
767c00c2ca
commit
4854f875b0
2 changed files with 2 additions and 6 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue