Browse Source
OAuth2AuthorizationRequestRedirectFilterTests attempt to validate the constructors throw IllegalArgumentException if an invalid argument is provided, but they are flawed because it is the relective code that is throwing the IllegalArgumentException due to imprecise type information. This changes the tests to no longer use unnecessary reflection and casts the types so that the type information is used to target the correct constructor. Closes gh-18507pull/18371/head
1 changed files with 4 additions and 8 deletions
Loading…
Reference in new issue