Use assertThat instead of Java assert
Fix `DefaultSavedRequestMixinTests` so that `assertThat` is used rather than Java's `assert` keyword. Issue gh-8945
This commit is contained in:
parent
1e840cc854
commit
ef8f113619
|
@ -84,7 +84,7 @@ public class DefaultSavedRequestMixinTests extends AbstractMixinTests {
|
|||
MockHttpServletRequest mockRequest = new MockHttpServletRequest();
|
||||
mockRequest.setCookies(new Cookie("SESSION", "123456789"));
|
||||
mockRequest.addHeader("x-auth-token", "12");
|
||||
assert request.doesRequestMatch(mockRequest, new PortResolverImpl());
|
||||
assertThat(request.doesRequestMatch(mockRequest, new PortResolverImpl())).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue