Revision 42f99e54
Added by Andreas Müller about 7 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/lazyloading/RemoteLazyLoadingTest.java | ||
---|---|---|
140 | 140 |
|
141 | 141 |
Team combAuthor = Team.NewInstance(); |
142 | 142 |
combAuthor.addTeamMember(Person.NewTitledInstance("test member")); |
143 |
BotanicalName name = BotanicalName.NewInstance(null, "Test1", null, null, null, null, null, null, null);
|
|
143 |
BotanicalName name = TaxonNameBase.NewBotanicalInstance(null, "Test1", null, null, null, null, null, null, null);
|
|
144 | 144 |
name.setCombinationAuthorship(combAuthor); |
145 | 145 |
Taxon taxon = Taxon.NewInstance(name, null); |
146 | 146 |
UUID taxonUuid = taxonService.save(taxon).getUuid(); |
... | ... | |
202 | 202 |
public void testCDMEntitySaveLazyNew() { |
203 | 203 |
Team combAuthor = Team.NewInstance(); |
204 | 204 |
combAuthor.addTeamMember(Person.NewTitledInstance("test member")); |
205 |
BotanicalName name = BotanicalName.NewInstance(null, "Test1", null, null, null, null, null, null, null);
|
|
205 |
BotanicalName name = TaxonNameBase.NewBotanicalInstance(null, "Test1", null, null, null, null, null, null, null);
|
|
206 | 206 |
name.setCombinationAuthorship(combAuthor); |
207 | 207 |
Taxon tax1 = Taxon.NewInstance(name, null); |
208 | 208 |
UUID taxonUuid1 = taxonService.save(tax1).getUuid(); |
Also available in: Unified diff
ref #6362 and ref #6365 remove some NVN and Bot/Zoo name occurrences in TaxEditor