mirror of
https://github.com/google/nomulus.git
synced 2025-07-22 18:55:58 +02:00
Correct usages of DateTime.now() everywhere to DateTime.now(UTC)
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=166393128
This commit is contained in:
parent
7fb44e4f66
commit
103b3d7608
7 changed files with 16 additions and 9 deletions
|
@ -26,6 +26,7 @@ import static google.registry.testing.DatastoreHelper.persistSimpleResource;
|
|||
import static google.registry.testing.TaskQueueHelper.assertDnsTasksEnqueued;
|
||||
import static google.registry.util.DateTimeUtils.END_OF_TIME;
|
||||
import static org.joda.money.CurrencyUnit.USD;
|
||||
import static org.joda.time.DateTimeZone.UTC;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import com.google.appengine.tools.cloudstorage.GcsFilename;
|
||||
|
@ -341,7 +342,7 @@ public class RdeDomainImportActionTest extends MapreduceTestCase<RdeDomainImport
|
|||
.setType(HistoryEntry.Type.RDE_IMPORT)
|
||||
.setClientId(clid)
|
||||
.setTrid(Trid.create("client-trid", "server-trid"))
|
||||
.setModificationTime(DateTime.now())
|
||||
.setModificationTime(DateTime.now(UTC))
|
||||
.setXmlBytes(objectXml)
|
||||
.setBySuperuser(true)
|
||||
.setReason("RDE Import")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue