Skip to content

Commit cbe5b11

Browse files
authored
chore: Update spring boot (#305)
* Update github actions cache version * Update spring boot
1 parent fa41099 commit cbe5b11

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
distribution: "adopt"
8686
cache: maven
8787
- name: Cache SonarCloud packages
88-
uses: actions/cache@v1
88+
uses: actions/cache@v4
8989
with:
9090
path: ~/.sonar/cache
9191
key: ${{ runner.os }}-sonar

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>3.3.3</version>
9+
<version>3.4.3</version>
1010
<relativePath/> <!-- lookup parent from repository -->
1111
</parent>
1212
<groupId>com.sterul</groupId>
@@ -52,7 +52,7 @@
5252
<dependency>
5353
<groupId>org.springframework.boot</groupId>
5454
<artifactId>spring-boot-starter-mail</artifactId>
55-
<version>3.1.4</version>
55+
<version>3.4.3</version>
5656
</dependency>
5757

5858
<dependency>

src/test/java/com/sterul/opencookbookapiserver/integration/RecipeAPIIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void setupContext() {
6161
testUser = userRepository.findByEmailAddress("[email protected]");
6262
if (testUser == null) {
6363
testUser = new CookpalUser();
64-
testUser.setUserId(1L);
64+
testUser.setUserId(null);
6565
testUser.setEmailAddress("[email protected]");
6666
userRepository.save(testUser);
6767
}

src/test/java/com/sterul/opencookbookapiserver/integration/TestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static void whenAuthenticated(UserRepository userRepository) {
2222
var testUser = userRepository.findByEmailAddress("[email protected]");
2323
if (testUser == null) {
2424
testUser = new CookpalUser();
25-
testUser.setUserId(1L);
25+
testUser.setUserId(null);
2626
testUser.setEmailAddress("[email protected]");
2727
userRepository.save(testUser);
2828
}

0 commit comments

Comments
 (0)