mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polish: assertion arguments should be passed in the correct order
This commit is contained in:
committed by
Juergen Hoeller
parent
38ebb6c982
commit
06fef1e5a4
+1
-1
@@ -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