diff --git a/internal/build/lifecycle_execution_test.go b/internal/build/lifecycle_execution_test.go index ffb5081193..189eefb682 100644 --- a/internal/build/lifecycle_execution_test.go +++ b/internal/build/lifecycle_execution_test.go @@ -1728,14 +1728,6 @@ func testLifecycleExecution(t *testing.T, when spec.G, it spec.S) { platformAPI = api.MustParse("0.12") providedOrderExt = dist.Order{dist.OrderEntry{Group: []dist.ModuleRef{ /* don't care */ }}} - when("for build", func() { - extensionsForBuild = true - - it("configures the phase with registry access", func() { - h.AssertSliceContains(t, configProvider.ContainerConfig().Env, "CNB_REGISTRY_AUTH={}") - }) - }) - when("for run", func() { extensionsForRun = true @@ -1810,16 +1802,6 @@ func testLifecycleExecution(t *testing.T, when spec.G, it spec.S) { h.AssertSliceNotContains(t, configProvider.HostConfig().Binds, "some-kaniko-cache:/kaniko") }) }) - - when("platform >= 0.10", func() { - platformAPI = api.MustParse("0.10") - - it("provides -build-image and /kaniko bind", func() { - h.AssertSliceContainsInOrder(t, configProvider.ContainerConfig().Cmd, "-build-image", providedBuilderImage) - h.AssertSliceContains(t, configProvider.ContainerConfig().Env, "CNB_REGISTRY_AUTH={}") - h.AssertSliceContains(t, configProvider.HostConfig().Binds, "some-kaniko-cache:/kaniko") - }) - }) }) when("not present in /generated/build", func() {