Switch to new Spring Hateoas API.

This commit is contained in:
Olga MaciaszekSharma
2021-10-11 12:08:23 +02:00
parent 779d482730
commit 8b96eab186

View File

@@ -73,7 +73,7 @@ public class DiscoveredResourceUnitTests {
@Test
public void verificationTriggersDiscovery() {
Link link = new Link("target", "rel");
Link link = Link.of("target", "rel");
when(this.provider.getServiceInstance())
.thenReturn(new DefaultServiceInstance("instance", "service", "localhost", 8080, false));