1
0
mirror of synced 2026-05-22 21:33:16 +00:00

openrewrite Junit Migration

This commit is contained in:
Rob Winch
2021-07-08 14:52:28 -05:00
parent 8652f01269
commit 3e93b024d6
999 changed files with 3088 additions and 3092 deletions
@@ -19,7 +19,7 @@ package org.springframework.security.openid;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import org.mockito.ArgumentMatchers;
import org.openid4java.association.AssociationException;
import org.openid4java.consumer.ConsumerException;
@@ -23,8 +23,8 @@ import javax.servlet.FilterChain;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;
@@ -57,7 +57,7 @@ public class OpenIDAuthenticationFilterTests {
private static final String DEFAULT_TARGET_URL = FILTER_PROCESS_URL;
@Before
@BeforeEach
public void setUp() {
this.filter = new OpenIDAuthenticationFilter();
this.filter.setConsumer(new MockOpenIDConsumer(REDIRECT_URL));
@@ -16,7 +16,7 @@
package org.springframework.security.openid;
import org.junit.Test;
import org.junit.jupiter.api.Test;
import org.springframework.security.authentication.AuthenticationServiceException;
import org.springframework.security.authentication.BadCredentialsException;