Commit 631af888 authored by Kamil Trzciński's avatar Kamil Trzciński

Remove invalid test

parent b85e82ea
Pipeline #25997992 (#3326) failed with stages
in 19 minutes and 6 seconds
......@@ -36,26 +36,4 @@ func TestCacheCheckPolicy(t *testing.T) {
assert.Equal(t, tc.expected, result, "case %d: %s", num, tc.description)
}
}
func TestArtifact_ShouldUpload(t *testing.T) {
examples := []struct {
when ArtifactWhen
stateOK bool
expected bool
}{
{when: "", stateOK: true, expected: true},
{when: ArtifactWhenOnSuccess, stateOK: true, expected: true},
{when: ArtifactWhenOnFailure, stateOK: true, expected: false},
{when: ArtifactWhenAlways, stateOK: true, expected: true},
{when: "", stateOK: false, expected: false},
{when: ArtifactWhenOnSuccess, stateOK: false, expected: false},
{when: ArtifactWhenOnFailure, stateOK: false, expected: true},
{when: ArtifactWhenAlways, stateOK: false, expected: true},
}
for _, example := range examples {
// doTestArtifactShouldUpload(t, example.when, example.stateOK, example.expected)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment