Skip to content

Commit 8e2b99a

Browse files
committed
update to spring-boot 3.0.0-M4
1 parent 1da14d8 commit 8e2b99a

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.springframework.boot</groupId>
1313
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>3.0.0-M3</version>
14+
<version>3.0.0-M4</version>
1515
</parent>
1616

1717
<licenses>

springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/java/test/org/springdoc/api/app145/SpringDocApp145Test.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,8 @@ public void testApp3() throws Exception {
8383
fail();
8484
}
8585
catch (HttpStatusCodeException ex) {
86-
// TODO: Currently obtain status 500 on MVC... Webflux obtain 404...
87-
if (ex.getStatusCode() == HttpStatus.INTERNAL_SERVER_ERROR)
86+
if (ex.getStatusCode() == HttpStatus.NOT_FOUND)
8887
assertTrue(true);
89-
else
90-
fail();
9188
}
9289
}
9390
}

springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/java/test/org/springdoc/api/app148/SpringDocApp148Test.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,8 @@ public void testApp3() throws Exception {
7171
fail();
7272
}
7373
catch (HttpStatusCodeException ex) {
74-
// TODO: Currently obtain status 500 on MVC... Webflux obtain 404...
75-
if (ex.getStatusCode() == HttpStatus.INTERNAL_SERVER_ERROR)
74+
if (ex.getStatusCode() == HttpStatus.NOT_FOUND)
7675
assertTrue(true);
77-
else
78-
fail();
7976
}
8077
}
8178

springdoc-openapi-tests/springdoc-openapi-data-rest-tests/src/test/java/test/org/springdoc/api/app25/model/BaseEntity.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
import lombok.Getter;
99
import lombok.NoArgsConstructor;
1010
import lombok.Setter;
11+
import org.hibernate.annotations.JdbcTypeCode;
1112
import org.hibernate.annotations.Type;
13+
import org.hibernate.type.SqlTypes;
1214

1315
@Getter
1416
@Setter
@@ -17,7 +19,7 @@
1719
public abstract class BaseEntity {
1820

1921
@Id
20-
@Type(type = "uuid-char")
22+
@JdbcTypeCode(SqlTypes.CHAR)
2123
private UUID id;
2224

2325
@PrePersist

0 commit comments

Comments
 (0)