Skip to content

Commit

Permalink
🔧 Upgrade lombok
Browse files Browse the repository at this point in the history
  • Loading branch information
celinepelletier committed May 28, 2024
1 parent 03b36f7 commit fce7233
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.32</version>
<optional>true</optional>
</dependency>

Expand Down Expand Up @@ -128,9 +129,9 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<version>2.35.1</version>
<groupId>org.wiremock</groupId>
<artifactId>wiremock-standalone</artifactId>
<version>3.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/io/kidsfirst/keys/CavaticaTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import org.springframework.test.context.DynamicPropertyRegistry;
import org.springframework.test.context.DynamicPropertySource;

import static com.github.tomakehurst.wiremock.client.WireMock.get;
import static com.github.tomakehurst.wiremock.client.WireMock.ok;
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig;
import static com.github.tomakehurst.wiremock.client.WireMock.*;


@Slf4j
public class CavaticaTests extends AbstractTest {
Expand Down Expand Up @@ -46,7 +46,7 @@ public class CavaticaTests extends AbstractTest {
"}";

@BeforeAll
private static void initTest(){
static void initTest(){
val userAndToken = createUserAndSecretAndObtainAccessToken("cavatica", "cavatica_secret");
defaultAccessToken = userAndToken.getAccessToken();
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/kidsfirst/keys/DynamicProxyTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class DynamicProxyTests extends AbstractTest {
protected static String defaultAccessToken = "";

@BeforeAll
private static void initTest() {
static void initTest() {
val userAndToken = createUserAndSecretAndObtainAccessToken("gen3", "cavatica_secret");
defaultAccessToken = userAndToken.getAccessToken();
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/kidsfirst/keys/FenceDeprecatedTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class FenceDeprecatedTests extends AbstractTest {

protected static String defaultAccessToken = "";
@BeforeAll
private static void initTest(){
static void initTest(){
val userAndToken = createUserAndSecretAndObtainAccessToken("cavatica", "cavatica_secret");
defaultAccessToken = userAndToken.getAccessToken();
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/kidsfirst/keys/FenceTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class FenceTests extends AbstractTest {
protected static String defaultAccessToken = "";

@BeforeAll
private static void initTest() {
static void initTest() {
val userAndToken = createUserAndSecretAndObtainAccessToken("gen3", "cavatica_secret");
defaultAccessToken = userAndToken.getAccessToken();
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/kidsfirst/keys/KeyStoreTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class KeyStoreTests extends AbstractTest {
private final String keyStoreUri = "/key-store";
protected static String defaultAccessToken = "";
@BeforeAll
private static void initTest(){
static void initTest(){
val userAndToken = createUserAndSecretAndObtainAccessToken("cavatica", "cavatica_secret");
defaultAccessToken = userAndToken.getAccessToken();
}
Expand Down

0 comments on commit fce7233

Please sign in to comment.