DATAREST-1341 - Upgrade to Spring HATEOAS 1.0.
This commit is contained in:
committed by
Oliver Drotbohm
parent
a05d6a2a90
commit
af6f55a92c
@@ -99,7 +99,7 @@ public class RepositoryEntityLinksIntegrationTests extends AbstractControllerInt
|
||||
|
||||
assertThat(links.hasLink("firstname")).isTrue();
|
||||
|
||||
Link firstnameLink = links.getLink("firstname");
|
||||
Link firstnameLink = links.getLink("firstname").orElse(null);
|
||||
assertThat(firstnameLink.isTemplated()).isTrue();
|
||||
assertThat(firstnameLink.getVariableNames()).contains("page", "size");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user