parent
80da80f930
commit
fabe35fdc4
2
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/BasicErrorControllerIntegrationTests.java
Normal file → Executable file
2
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/BasicErrorControllerIntegrationTests.java
Normal file → Executable file
|
@ -182,7 +182,7 @@ public class BasicErrorControllerIntegrationTests {
|
||||||
.accept(MediaType.TEXT_HTML).build();
|
.accept(MediaType.TEXT_HTML).build();
|
||||||
ResponseEntity<String> entity = new TestRestTemplate().exchange(request,
|
ResponseEntity<String> entity = new TestRestTemplate().exchange(request,
|
||||||
String.class);
|
String.class);
|
||||||
String resp = entity.getBody().toString();
|
String resp = entity.getBody();
|
||||||
assertThat(resp).contains("We are out of storage");
|
assertThat(resp).contains("We are out of storage");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/archive/ExplodedArchiveTests.java
Normal file → Executable file
2
spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/archive/ExplodedArchiveTests.java
Normal file → Executable file
|
@ -190,7 +190,7 @@ public class ExplodedArchiveTests {
|
||||||
private Map<String, Archive.Entry> getEntriesMap(Archive archive) {
|
private Map<String, Archive.Entry> getEntriesMap(Archive archive) {
|
||||||
Map<String, Archive.Entry> entries = new HashMap<String, Archive.Entry>();
|
Map<String, Archive.Entry> entries = new HashMap<String, Archive.Entry>();
|
||||||
for (Archive.Entry entry : archive) {
|
for (Archive.Entry entry : archive) {
|
||||||
entries.put(entry.getName().toString(), entry);
|
entries.put(entry.getName(), entry);
|
||||||
}
|
}
|
||||||
return entries;
|
return entries;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue