tests updated

pull/318/head
Karolis Rusenas 2018-11-30 22:40:40 +00:00
parent 35d2800cc3
commit b90e876db8
1 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@ import (
"reflect"
"testing"
"github.com/keel-hq/keel/internal/policy"
"github.com/keel-hq/keel/types"
"github.com/keel-hq/keel/util/image"
"k8s.io/helm/pkg/chartutil"
@ -49,7 +50,7 @@ func Test_getImages(t *testing.T) {
&types.TrackedImage{
Image: img,
Trigger: types.TriggerTypePoll,
SemverPreReleaseTags: make(map[string]string),
Policy: policy.NewSemverPolicy(policy.SemverPolicyTypeAll),
},
},
wantErr: false,