From 74ee500f9459a351809a4d3e29bb0d78d971a26d Mon Sep 17 00:00:00 2001 From: Sebastian Rose Date: Wed, 27 May 2020 21:29:50 +0200 Subject: [PATCH] speaker image --- src/test/java/org/dukecon/WebResoucesTests.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/dukecon/WebResoucesTests.java b/src/test/java/org/dukecon/WebResoucesTests.java index 433f8d3..b441661 100644 --- a/src/test/java/org/dukecon/WebResoucesTests.java +++ b/src/test/java/org/dukecon/WebResoucesTests.java @@ -26,15 +26,19 @@ public void testStaticServerInterface() { whenUrlOkAndContentTypeMatches("/rest/init.json", ContentType.JSON.toString()) ); whenUrlOkAndContentTypeMatches("/rest/image-resources.json", ContentType.JSON.toString()); + + whenUrlOkAndContentTypeMatches("/rest/speaker/images/c4ab6b88490cb4da5f6ea95dae485095","image/png"); + whenUrlOkAndContentTypeMatches("/rest/conferences/javaland2019", ContentType.JSON.toString()); whenUrlOkAndContentTypeMatches("/rest/conferences/javaland2019/styles.css", "text/css"); + whenUrlOkAndContentTypeMatches("/img/favicon.ico", "image/x-icon"); - } @Test public void testDynamicServerInterface() { whenUrlOkAndContentTypeMatches("/rest/keycloak.json", ContentType.JSON.toString()); + whenUrlOkAndContentTypeMatches("/rest/eventsBooking/javaland2019", ContentType.JSON.toString()); }