Skip to content

Commit

Permalink
One more unit test on ContextResolver registration with priority over…
Browse files Browse the repository at this point in the history
…ride (#1788)

Signed-off-by: NicoNes <nicolas.nesmon@gmail.com>
  • Loading branch information
NicoNes authored and asoldano committed Jan 21, 2019
1 parent 908b2df commit f7fcdc2
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -420,7 +420,9 @@ public void testContextResolverPriorityOverride_2()
Client client = ClientBuilder.newClient();
try
{
WebTarget webTarget = client.target("http://www.test.com");
fakeHttpServer.start();

WebTarget webTarget = client.target("http://" + fakeHttpServer.getHostAndPort());
webTarget.register(new ClientRequestFilter()
{
@Context
Expand Down Expand Up @@ -459,5 +461,4 @@ public String getContext(Class<?> type)
client.close();
}
}

}

0 comments on commit f7fcdc2

Please sign in to comment.