Skip to content

Commit b5b0cfd

Browse files
tests(gitreceive): remove duplicated tests
In the refactor of 67a9adb, some things were changed along with these tests, but they were never deduplicated. This should get these out.
1 parent a79f44d commit b5b0cfd

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

pkg/gitreceive/k8s_util_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,8 @@ func TestBuildPod(t *testing.T) {
5858

5959
slugBuilds := []slugBuildCase{
6060
{true, "test", "default", emptyEnv, "tar", "put-url", "cache-url", "", "", api.PullAlways, ""},
61-
{true, "test", "default", emptyEnv, "tar", "put-url", "cache-url", "", "", api.PullAlways, ""},
62-
{true, "test", "default", env, "tar", "put-url", "cache-url", "", "", api.PullAlways, ""},
6361
{true, "test", "default", env, "tar", "put-url", "cache-url", "", "", api.PullAlways, ""},
6462
{true, "test", "default", emptyEnv, "tar", "put-url", "cache-url", "buildpack", "", api.PullAlways, ""},
65-
{true, "test", "default", emptyEnv, "tar", "put-url", "cache-url", "buildpack", "", api.PullAlways, ""},
6663
{true, "test", "default", env, "tar", "put-url", "cache-url", "buildpack", "", api.PullAlways, ""},
6764
{true, "test", "default", env, "tar", "put-url", "cache-url", "buildpack", "customimage", api.PullAlways, ""},
6865
{true, "test", "default", env, "tar", "put-url", "cache-url", "buildpack", "customimage", api.PullIfNotPresent, ""},
@@ -114,11 +111,8 @@ func TestBuildPod(t *testing.T) {
114111

115112
dockerBuilds := []dockerBuildCase{
116113
{true, "test", "default", emptyEnv, "tar", "", "", api.PullAlways, ""},
117-
{true, "test", "default", emptyEnv, "tar", "", "", api.PullAlways, ""},
118-
{true, "test", "default", env, "tar", "", "", api.PullAlways, ""},
119114
{true, "test", "default", env, "tar", "", "", api.PullAlways, ""},
120115
{true, "test", "default", emptyEnv, "tar", "img", "", api.PullAlways, ""},
121-
{true, "test", "default", emptyEnv, "tar", "img", "", api.PullAlways, ""},
122116
{true, "test", "default", env, "tar", "img", "", api.PullAlways, ""},
123117
{true, "test", "default", env, "tar", "img", "customimage", api.PullAlways, ""},
124118
{true, "test", "default", env, "tar", "img", "customimage", api.PullIfNotPresent, ""},

0 commit comments

Comments
 (0)