projects
/
demos
/
testing
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cfafc8
)
WIP:it
author
Kai Moritz
<kai@juplo.de>
Tue, 14 Jan 2020 08:53:28 +0000
(09:53 +0100)
committer
Kai Moritz
<kai@juplo.de>
Tue, 14 Jan 2020 08:53:28 +0000
(09:53 +0100)
src/test/java/de/juplo/demo/DemoApplicationIT.java
patch
|
blob
|
history
diff --git
a/src/test/java/de/juplo/demo/DemoApplicationIT.java
b/src/test/java/de/juplo/demo/DemoApplicationIT.java
index
3e06567
..
00fdbd4
100644
(file)
--- a/
src/test/java/de/juplo/demo/DemoApplicationIT.java
+++ b/
src/test/java/de/juplo/demo/DemoApplicationIT.java
@@
-43,7
+43,7
@@
class DemoApplicationIT extends IntegrationTestBase
.get()
.uri(URI.create("http://S.U.T/?path=test.txt"))
.exchange()
- .expectStatus().is
2xxSuccessful
()
+ .expectStatus().is
Ok
()
.expectHeader().contentType(MediaType.TEXT_HTML)
.expectBody(String.class).isEqualTo("Hello World!\n");
}
@@
-57,8
+57,7
@@
class DemoApplicationIT extends IntegrationTestBase
return new RemoteContentService(
WebClient
.builder()
- .baseUrl("http://localhost:" +
- DemoApplicationIT.MOCK_SERVER.getLocalPort())
+ .baseUrl("http://localhost:" + MOCK_SERVER.getLocalPort())
.build());
}