Skip to content

Commit

Permalink
fix: (minor) don't use deprecated jersey calls (#6732)
Browse files Browse the repository at this point in the history
Jersey 2.30 (and above) adds a Configuration argument to
`ContainerRequest(...)`  and marks the old version of
`ContainerRequest(...)` without the Configuration argument as
deprecated.
  • Loading branch information
niteshmor authored Dec 8, 2020
1 parent f9fb523 commit a44b3e9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ private ContainerRequest givenRequestContext(
URI.create(path),
method,
securityContext,
mock(PropertiesDelegate.class)
mock(PropertiesDelegate.class),
null
);

return requestContext;
Expand Down

0 comments on commit a44b3e9

Please sign in to comment.