Project

General

Profile

« Previous | Next » 

Revision 99d34638

Added by Andreas Müller over 3 years ago

fix #9366 add collection name to specimen titleCache if collection code does not exist

View differences:

cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacadeCacheStrategyTest.java
167 167
		specimenFacade.setPlantDescription(plantDescription);
168 168
		collection.setCode("B");
169 169
		Assert.assertEquals(correctCache, specimenFacade.getTitleCache());
170
        collection.setCode(null);
171
        collection.setName("Herbarium Berolinense");
172
        Assert.assertEquals(correctCache.replace("B 8909756", "Herbarium Berolinense 8909756"), specimenFacade.getTitleCache());
170 173
	}
171 174

  
172 175
    @Test

Also available in: Unified diff