Skip to content

Commit fee1ffa

Browse files
Fix JSONObject and JSONArray imports in tests
Issue gh-11858
1 parent 9c8c3ee commit fee1ffa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

oauth2/oauth2-core/src/test/java/org/springframework/security/oauth2/core/converter/ClaimConversionServiceTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,8 +26,8 @@
2626
import java.util.List;
2727
import java.util.Map;
2828

29-
import com.nimbusds.jose.shaded.json.JSONArray;
30-
import com.nimbusds.jose.shaded.json.JSONObject;
29+
import net.minidev.json.JSONArray;
30+
import net.minidev.json.JSONObject;
3131
import org.assertj.core.util.Lists;
3232
import org.junit.jupiter.api.Test;
3333

oauth2/oauth2-core/src/test/java/org/springframework/security/oauth2/core/converter/ClaimTypeConverterTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -23,8 +23,8 @@
2323
import java.util.List;
2424
import java.util.Map;
2525

26-
import com.nimbusds.jose.shaded.json.JSONArray;
27-
import com.nimbusds.jose.shaded.json.JSONObject;
26+
import net.minidev.json.JSONArray;
27+
import net.minidev.json.JSONObject;
2828
import org.assertj.core.util.Lists;
2929
import org.assertj.core.util.Maps;
3030
import org.junit.jupiter.api.BeforeEach;

0 commit comments

Comments
 (0)