Skip to content

Commit

Permalink
Fix typo in TestcontainersPropertySource assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
amritagg authored and scottfrederick committed Feb 7, 2024
1 parent 1fcddff commit 67ba829
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 the original author or authors.
* Copyright 2012-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -86,7 +86,7 @@ private static DynamicPropertyRegistry attach(ConfigurableEnvironment environmen
return attach(environment);
}
Assert.state(propertySource instanceof TestcontainersPropertySource,
"Incorrect DynamicValuesPropertySource type registered");
"Incorrect TestcontainersPropertySource type registered");
return ((TestcontainersPropertySource) propertySource).registry;
}

Expand Down

0 comments on commit 67ba829

Please sign in to comment.