Skip to content

Commit

Permalink
Merge remote-tracking branch 'mkheck/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/kotlin/hello/Application.kt
#	src/main/kotlin/hello/Customer.kt
  • Loading branch information
sdeleuze committed Nov 9, 2017
1 parent a5aaf28 commit 43bdc77
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/main/kotlin/hello/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package hello

import org.slf4j.LoggerFactory
import org.springframework.boot.CommandLineRunner
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.context.annotation.Bean
Expand Down
1 change: 0 additions & 1 deletion src/main/kotlin/hello/Customer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ data class Customer(
val lastName: String,
@Id @GeneratedValue
val id: Long = -1)

4 changes: 2 additions & 2 deletions src/test/kotlin/hello/ApplicationTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import org.springframework.web.client.getForObject
@SpringBootTest(webEnvironment= SpringBootTest.WebEnvironment.RANDOM_PORT)
class ApplicationTests(@LocalServerPort port: Int, @Autowired builder: RestTemplateBuilder) {

// We don't use TestRestTemplate because of Spring Boot issues #10761 and #8062
private val restTemplate = builder.rootUri("http://localhost:$port").build()
// We don't use TestRestTemplate because of Spring Boot issues #10761 and #8062
private val restTemplate = builder.rootUri("http://localhost:$port").build()

@Test
fun findAll() {
Expand Down

0 comments on commit 43bdc77

Please sign in to comment.