mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 20:18:34 +02:00
Refactor out creation of server TRIDs so they can be tested
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=152837185
This commit is contained in:
parent
af942774f4
commit
8653d2f204
29 changed files with 174 additions and 62 deletions
|
@ -158,7 +158,7 @@ public class RdeHostImportActionTest extends MapreduceTestCase<RdeHostImportActi
|
|||
return new HistoryEntry.Builder()
|
||||
.setType(HistoryEntry.Type.RDE_IMPORT)
|
||||
.setClientId(clid)
|
||||
.setTrid(Trid.create(null))
|
||||
.setTrid(Trid.create("client-trid", "server-trid"))
|
||||
.setModificationTime(DateTime.now())
|
||||
.setXmlBytes(objectXml)
|
||||
.setBySuperuser(true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue