Polish: assertion arguments should be passed in the correct order
This commit is contained in:
committed by
Juergen Hoeller
parent
38ebb6c982
commit
06fef1e5a4
@@ -76,7 +76,7 @@ public class HiddenHttpMethodFilterTests {
|
||||
StepVerifier.create(postForm("_method=INVALID"))
|
||||
.consumeErrorWith(error -> {
|
||||
assertThat(error, Matchers.instanceOf(IllegalArgumentException.class));
|
||||
assertEquals(error.getMessage(), "HttpMethod 'INVALID' not supported");
|
||||
assertEquals("HttpMethod 'INVALID' not supported", error.getMessage());
|
||||
})
|
||||
.verify();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user