Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit e071f1e

Browse files
committed
fix: exception message in unit test
1 parent 11574b4 commit e071f1e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

graphql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/autoconfigure/web/servlet/test/aliasedscalars/AliasedScalarsIncorrectConfigurationTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ void shouldThrowErrorOnStartupIfScalarDoesNotExists() {
3333
.withMessage(
3434
"Scalar(s) 'BugDecimal' cannot be aliased."
3535
+ " Only the following scalars can be aliased by configuration: BigDecimal,"
36-
+ " BigInteger, Boolean, Byte, Char, Date, DateTime, Float, ID, Int, JSON,"
37-
+ " LocalTime, Locale, Long, NegativeFloat, NegativeInt, NonNegativeFloat, NonNegativeInt,"
38-
+ " NonPositiveFloat, NonPositiveInt, Object, PositiveFloat, PositiveInt, Short,"
39-
+ " String, Time, UUID, Url. Note that custom scalar beans cannot be aliased this way.");
36+
+ " BigInteger, Boolean, Byte, Char, CountryCode, Currency, Date, DateTime, Float,"
37+
+ " ID, Int, JSON, LocalTime, Locale, Long, NegativeFloat, NegativeInt,"
38+
+ " NonNegativeFloat, NonNegativeInt, NonPositiveFloat, NonPositiveInt, Object,"
39+
+ " PositiveFloat, PositiveInt, Short, String, Time, UUID, Url."
40+
+ " Note that custom scalar beans cannot be aliased this way.");
4041
}
4142

4243
@Test

0 commit comments

Comments
 (0)