DATACMNS-1647 - Switched to use factory methods of RepresentationModel types.
This commit is contained in:
@@ -107,7 +107,7 @@ public class PagedResourcesAssemblerUnitTests {
|
||||
@Test
|
||||
public void usesCustomLinkProvided() {
|
||||
|
||||
Link link = new Link("https://foo:9090", "rel");
|
||||
Link link = Link.of("https://foo:9090", "rel");
|
||||
|
||||
PagedModel<EntityModel<Person>> resources = assembler.toModel(createPage(1), link);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user