fix: fix broken integration tests
@@ -269,7 +269,7 @@ public class BuildDockerMojoIntegrationTest {
buildToDockerDaemon(simpleTestProject, targetImage, "pom-cred-helper-1.xml");
Assert.assertEquals(
"Hello, world. \n1970-01-01T00:00:01Z\n",
- new Command("docker", "run", "--rm", "my-artifact-id:1").run());
+ new Command("docker", "run", "--rm", targetImage).run());
}
@Test
@@ -279,6 +279,6 @@ public class BuildDockerMojoIntegrationTest {
buildToDockerDaemon(simpleTestProject, targetImage, "pom-cred-helper-2.xml");
Assert.assertEquals(
"Hello, world. \n1970-01-01T00:00:01Z\n",
- new Command("docker", "run", "--rm", "my-artifact-id:1").run());
+ new Command("docker", "run", "--rm", targetImage).run());
}
}
