Skip to content

Commit

Permalink
FIX: Missed removal of deprecated/unnecessary method
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Pounder authored and Adam Pounder committed Oct 28, 2024
1 parent 430c9b9 commit 0d545b5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/test-support/src/main/groovy/GebConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ import org.testcontainers.containers.BrowserWebDriverContainer
import org.testcontainers.shaded.org.apache.commons.io.FileUtils
import org.testcontainers.utility.ResourceReaper

import static org.testcontainers.containers.BrowserWebDriverContainer.getDockerImageForCapabilities

testValue = true // used in a test in geb-core

String getForkIndex(int total) {
Expand All @@ -44,8 +42,7 @@ void setPortIndexProperty(String index) {
}

BrowserWebDriverContainer containerForCapabilities(Capabilities capabilities) {
new BrowserWebDriverContainer<>(getDockerImageForCapabilities(capabilities, "4.2.2-20220622"))
.withCapabilities(capabilities)
new BrowserWebDriverContainer<>().withCapabilities(capabilities)
}

BrowserWebDriverContainer containerForDriver(String driverName) {
Expand Down

0 comments on commit 0d545b5

Please sign in to comment.