Project

General

Profile

« Previous | Next » 

Revision 38d5ecb8

Added by Andreas Müller almost 3 years ago

ref #9663 adapt test to test for removing the suffix (jpg and &mo=file)

View differences:

cdmlib-model/src/test/java/eu/etaxonomy/cdm/strategy/cache/media/MediaDefaultCacheStrategyTest.java
42 42
			media.setArtist(person);
43 43
			Assert.assertEquals("Wrong title cache for media with artist", "Artist", media.getTitleCache());
44 44

  
45
			MediaRepresentation representation = MediaRepresentation.NewInstance(null, null, new URI("www.abc.de/myFileName"), 0, null);
45
			MediaRepresentation representation = MediaRepresentation.NewInstance(null, null, new URI("www.abc.de/myFileName.jpg&mo=file"), 0, null);
46 46
			media.addRepresentation(representation);
47 47
			Assert.assertEquals("Wrong title cache for media with artist", "Artist", media.getTitleCache());
48 48

  

Also available in: Unified diff