BAEL-755 changing the name of the POKO to a DTO and removing the use of @Autowired in the constructor as it is not needed.
This commit is contained in:
parent
73b3c09dd0
commit
50cf9a5070
@ -41,7 +41,7 @@ class KotlinDemoApplicationTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun testHelloPoko() {
|
fun testHelloDto() {
|
||||||
var result = testRestTemplate?.getForEntity("/hello-dto", HelloDto::class.java)
|
var result = testRestTemplate?.getForEntity("/hello-dto", HelloDto::class.java)
|
||||||
|
|
||||||
Assert.assertNotNull(result)
|
Assert.assertNotNull(result)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user