caio.co/de/casserole

Bump to tablier 0.6.2

Now we have a logo that's less shameful
Id
e6e0ef3ace4fab9114f9a433607cf5a4794bc051
Author
Caio
Commit time
2019-06-06T13:02:41+02:00

Modified pom.xml

@@ -20,7 +20,7
<start-class>co.caio.casserole.BootApplication</start-class>

<cerberus.version>0.8.0</cerberus.version>
- <tablier.version>0.6.1</tablier.version>
+ <tablier.version>0.6.2</tablier.version>

<spring-boot.version>2.1.5.RELEASE</spring-boot.version>
<spring-jcl.version>5.1.7.RELEASE</spring-jcl.version>

Modified src/test/java/co/caio/casserole/BootApplicationTest.java

@@ -208,8 +208,7

@Test
void classpathResourceContentHasMaxAge() {
- List.of("/page/about", "/page/help", "/css/main.css", "/img/favicon.ico")
- .forEach(this::assertCacheControl);
+ List.of("/page/about", "/css/main.css", "/img/logo16.png").forEach(this::assertCacheControl);
}

void assertCacheControl(String uri) {
@@ -226,7 +225,8

@Test
void canFetchFavicon() {
- assertGet("/img/favicon.ico", HttpStatus.OK, new MediaType("image", "x-icon"));
+ assertGet("/img/logo32.png", HttpStatus.OK, new MediaType("image", "png"));
+ assertGet("/img/logo16.png", HttpStatus.OK, new MediaType("image", "png"));
}

@Test