Skip to content

Commit

Permalink
Merge pull request #420 from jeroenvisser101/fix-duplicated-tests
Browse files Browse the repository at this point in the history
tests(gitreceive): remove duplicated tests
  • Loading branch information
kmala committed Aug 31, 2016
2 parents a79f44d + b5b0cfd commit 9c54cdd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/gitreceive/k8s_util_test.go
Expand Up @@ -58,11 +58,8 @@ func TestBuildPod(t *testing.T) {

slugBuilds := []slugBuildCase{
{true, "test", "default", emptyEnv, "tar", "put-url", "cache-url", "", "", api.PullAlways, ""},
{true, "test", "default", emptyEnv, "tar", "put-url", "cache-url", "", "", api.PullAlways, ""},
{true, "test", "default", env, "tar", "put-url", "cache-url", "", "", api.PullAlways, ""},
{true, "test", "default", env, "tar", "put-url", "cache-url", "", "", api.PullAlways, ""},
{true, "test", "default", emptyEnv, "tar", "put-url", "cache-url", "buildpack", "", api.PullAlways, ""},
{true, "test", "default", emptyEnv, "tar", "put-url", "cache-url", "buildpack", "", api.PullAlways, ""},
{true, "test", "default", env, "tar", "put-url", "cache-url", "buildpack", "", api.PullAlways, ""},
{true, "test", "default", env, "tar", "put-url", "cache-url", "buildpack", "customimage", api.PullAlways, ""},
{true, "test", "default", env, "tar", "put-url", "cache-url", "buildpack", "customimage", api.PullIfNotPresent, ""},
Expand Down Expand Up @@ -114,11 +111,8 @@ func TestBuildPod(t *testing.T) {

dockerBuilds := []dockerBuildCase{
{true, "test", "default", emptyEnv, "tar", "", "", api.PullAlways, ""},
{true, "test", "default", emptyEnv, "tar", "", "", api.PullAlways, ""},
{true, "test", "default", env, "tar", "", "", api.PullAlways, ""},
{true, "test", "default", env, "tar", "", "", api.PullAlways, ""},
{true, "test", "default", emptyEnv, "tar", "img", "", api.PullAlways, ""},
{true, "test", "default", emptyEnv, "tar", "img", "", api.PullAlways, ""},
{true, "test", "default", env, "tar", "img", "", api.PullAlways, ""},
{true, "test", "default", env, "tar", "img", "customimage", api.PullAlways, ""},
{true, "test", "default", env, "tar", "img", "customimage", api.PullIfNotPresent, ""},
Expand Down

0 comments on commit 9c54cdd

Please sign in to comment.