-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
type/breaking-api-changePublic APIs are being changedPublic APIs are being changed
Milestone
Description
The Container#self() method doesn't return the correct type for subclasses of implementations. For example, the following will not compile because withEnv returns a GenericContainer not a DockerComposeContainer:
@ClassRule
public static DockerComposeContainer environment =
new DockerComposeContainer(new File("src/test/resources/compose-test.yml"))
.withEnv("SOMETHING", "hello world");
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/breaking-api-changePublic APIs are being changedPublic APIs are being changed