#1648 - Removed further deprecations.

This commit is contained in:
Oliver Drotbohm
2021-09-21 17:46:04 +02:00
parent 054d2bf7d1
commit fe1657386d
13 changed files with 20 additions and 286 deletions

View File

@@ -52,7 +52,7 @@ class WebMvcLinkBuilderDslUnitTest : TestUtils() {
@Test
fun `adds links to wrapped domain object`() {
val customer = EntityModel(Customer("15", "John Doe"))
val customer = EntityModel.of(Customer("15", "John Doe"))
customer.add(CustomerController::class) {
linkTo { findById(it.content.id) } withRel IanaLinkRelations.SELF