Browse Source

Merge branch '3.2.x'

Closes gh-39450
pull/39452/head
Scott Frederick 2 years ago
parent
commit
8c91b094ee
  1. 2
      spring-boot-project/spring-boot-testcontainers/src/main/java/org/springframework/boot/testcontainers/properties/TestcontainersPropertySource.java

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

@ -129,7 +129,7 @@ public class TestcontainersPropertySource extends EnumerablePropertySource<Map<S @@ -129,7 +129,7 @@ public class TestcontainersPropertySource extends EnumerablePropertySource<Map<S
return getOrAdd(environment);
}
Assert.state(propertySource instanceof TestcontainersPropertySource,
"Incorrect DynamicValuesPropertySource type registered");
"Incorrect TestcontainersPropertySource type registered");
return ((TestcontainersPropertySource) propertySource);
}

Loading…
Cancel
Save