Skip to content

Commit 3b6ca87

Browse files
Refresh the versions in updateToSpringBootSnapshot test
1 parent ec4fb3d commit 3b6ca87

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

rewrite-maven/src/test/java/org/openrewrite/maven/AddRepositoryTest.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616
package org.openrewrite.maven;
1717

18-
import org.junit.jupiter.api.Disabled;
1918
import org.junit.jupiter.api.Test;
2019
import org.openrewrite.DocumentExample;
2120
import org.openrewrite.test.RewriteTest;
@@ -306,8 +305,7 @@ void noIdMatch1SameSnapshots() {
306305
}
307306

308307
@Test
309-
@Disabled("2026-05-04 temporarily disabled after Artifactory introduction")
310-
void updateToSpringBoot30Snapshot() {
308+
void updateToSpringBootSnapshot() {
311309
rewriteRun(
312310
spec -> spec.recipes(
313311
new AddRepository("boot-snapshots", "https://repo.spring.io/snapshot", null, null,
@@ -316,7 +314,7 @@ void updateToSpringBoot30Snapshot() {
316314
new UpgradeParentVersion(
317315
"org.springframework.boot",
318316
"spring-boot-starter-parent",
319-
"3.0.0-SNAPSHOT",
317+
"4.0.0-SNAPSHOT",
320318
null,
321319
null)
322320
),
@@ -326,7 +324,7 @@ void updateToSpringBoot30Snapshot() {
326324
<parent>
327325
<groupId>org.springframework.boot</groupId>
328326
<artifactId>spring-boot-starter-parent</artifactId>
329-
<version>2.7.3</version>
327+
<version>3.4.0</version>
330328
</parent>
331329
<groupId>com.mycompany.app</groupId>
332330
<artifactId>my-app</artifactId>
@@ -338,7 +336,7 @@ void updateToSpringBoot30Snapshot() {
338336
<parent>
339337
<groupId>org.springframework.boot</groupId>
340338
<artifactId>spring-boot-starter-parent</artifactId>
341-
<version>3.0.0-SNAPSHOT</version>
339+
<version>4.0.0-SNAPSHOT</version>
342340
</parent>
343341
<groupId>com.mycompany.app</groupId>
344342
<artifactId>my-app</artifactId>

0 commit comments

Comments
 (0)