Commit d8f5619f authored by Andrea Aime's avatar Andrea Aime
Browse files

Fix test not to pick a random style, it ends up failing on some machines

parent 5b04741d
......@@ -4,7 +4,7 @@
import static;
import static;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static;
......@@ -289,7 +289,7 @@ public class RenderedImageMapOutputFormatTest extends WMSTestSupport {
StyleInfo someStyle = getCatalog().getStyles().get(0);
StyleInfo someStyle = getCatalog().getStyleByName("line");
map.addLayer(new FeatureLayer(source, someStyle.getStyle()));
RenderedImageMap imageMap = this.rasterMapProducer.produceMap(map);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment