Skip to content

Commit 004282f

Browse files
Merge pull request #39440 from amritagg
* pr/39940: Fix typo in TestcontainersPropertySource assertion Closes gh-39440
2 parents 1fcddff + 67ba829 commit 004282f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-testcontainers/src/main/java/org/springframework/boot/testcontainers/properties/TestcontainersPropertySource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -86,7 +86,7 @@ private static DynamicPropertyRegistry attach(ConfigurableEnvironment environmen
8686
return attach(environment);
8787
}
8888
Assert.state(propertySource instanceof TestcontainersPropertySource,
89-
"Incorrect DynamicValuesPropertySource type registered");
89+
"Incorrect TestcontainersPropertySource type registered");
9090
return ((TestcontainersPropertySource) propertySource).registry;
9191
}
9292

0 commit comments

Comments
 (0)