Rely on the official ENV var for Docker repo

* Remove obsolete `TestUtils.dockerRegistryFromEnv()`
* Upgrade to Spring GraphQL `1.0.0`
This commit is contained in:
Artem Bilan
2022-05-18 13:04:13 -04:00
parent f5ab0c1665
commit ed6f26104f
4 changed files with 3 additions and 11 deletions

View File

@@ -34,11 +34,7 @@ import org.springframework.integration.test.util.TestUtils;
public interface MySqlContainerTest {
@Container
MySQLContainer<?> MY_SQL_CONTAINER =
new MySQLContainer<>(
DockerImageName.parse(TestUtils.dockerRegistryFromEnv() + "mysql")
.asCompatibleSubstituteFor("mysql"))
.withReuse(true);
MySQLContainer<?> MY_SQL_CONTAINER = new MySQLContainer<>("mysql").withReuse(true);
static String getDriverClassName() {