Revision 5da100f1
Added by Andreas Müller about 2 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/TypeDesignationSetManagerTest.java | ||
---|---|---|
249 | 249 |
DerivedUnit specimen = std_HT.getTypeSpecimen(); |
250 | 250 |
specimen.setProtectedTitleCache(false); |
251 | 251 |
Collection collection = Collection.NewInstance(); |
252 |
collection.setName("OHB");
|
|
252 |
collection.setName("My collection");
|
|
253 | 253 |
specimen.setCollection(collection); |
254 | 254 |
|
255 | 255 |
assertEquals( |
256 |
"Prionus L.\u202F\u2013\u202FTypes: Testland, near Bughausen, A.Kohlbecker 81989, 2017 (holotype: OHA); Nametype: Prionus coriatius L."
|
|
256 |
"Prionus L.\u202F\u2013\u202FTypes: Testland, near Bughausen, A.Kohlbecker 81989, 2017 (holotype: My collection); Nametype: Prionus coriatius L."
|
|
257 | 257 |
, typeDesignationManager.print(true, true, true) |
258 | 258 |
); |
259 | 259 |
|
Also available in: Unified diff
ref #9366 fix test in TypeDesignationSetManagerTest