File tree 2 files changed +22
-4
lines changed
remoteresolution/resolver/hub
2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,16 @@ func TestValidate(t *testing.T) {
60
60
version : "bar" ,
61
61
catalog : "baz" ,
62
62
hubType : ArtifactHubType ,
63
- }, {
63
+ },
64
+ {
65
+ testName : "stepaction validation" ,
66
+ kind : "stepaction" ,
67
+ resourceName : "foo" ,
68
+ version : "bar" ,
69
+ catalog : "baz" ,
70
+ hubType : ArtifactHubType ,
71
+ },
72
+ {
64
73
testName : "tekton type validation" ,
65
74
kind : "task" ,
66
75
resourceName : "foo" ,
@@ -134,7 +143,7 @@ func TestValidateConflictingKindName(t *testing.T) {
134
143
hubType string
135
144
}{
136
145
{
137
- kind : "not-taskpipeline " ,
146
+ kind : "not-taskpipelineorstepaction " ,
138
147
name : "foo" ,
139
148
version : "bar" ,
140
149
catalog : "baz" ,
Original file line number Diff line number Diff line change @@ -62,7 +62,16 @@ func TestValidateParams(t *testing.T) {
62
62
version : "bar" ,
63
63
catalog : "baz" ,
64
64
hubType : ArtifactHubType ,
65
- }, {
65
+ },
66
+ {
67
+ testName : "stepaction validation" ,
68
+ kind : "stepaction" ,
69
+ resourceName : "foo" ,
70
+ version : "bar" ,
71
+ catalog : "baz" ,
72
+ hubType : ArtifactHubType ,
73
+ },
74
+ {
66
75
testName : "tekton type validation" ,
67
76
kind : "task" ,
68
77
resourceName : "foo" ,
@@ -148,7 +157,7 @@ func TestValidateParamsConflictingKindName(t *testing.T) {
148
157
hubType string
149
158
}{
150
159
{
151
- kind : "not-taskpipeline " ,
160
+ kind : "not-taskpipelineorstepaction " ,
152
161
name : "foo" ,
153
162
version : "bar" ,
154
163
catalog : "baz" ,
You can’t perform that action at this time.
0 commit comments