Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
speaker image
Browse files Browse the repository at this point in the history
  • Loading branch information
srose committed May 27, 2020
1 parent 941a4d9 commit 74ee500
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/java/org/dukecon/WebResoucesTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down

0 comments on commit 74ee500

Please sign in to comment.