Skip to content

Commit 670d12b

Browse files
everettraventmshort
authored andcommitted
update unit tests
Signed-off-by: everettraven <[email protected]>
1 parent b51c634 commit 670d12b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkg/controller/operators/olm/operatorgroup_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ func TestCopyToNamespace(t *testing.T) {
114114
UID: "uid",
115115
ResourceVersion: "42",
116116
Annotations: map[string]string{
117-
"$copyhash-nonstatus": "hn-2",
118-
"$copyhash-status": "hs",
117+
nonStatusCopyHashAnnotation: "hn-2",
118+
statusCopyHashAnnotation: "hs",
119119
},
120120
},
121121
},
@@ -167,8 +167,8 @@ func TestCopyToNamespace(t *testing.T) {
167167
UID: "uid",
168168
ResourceVersion: "42",
169169
Annotations: map[string]string{
170-
"$copyhash-nonstatus": "hn",
171-
"$copyhash-status": "hs-2",
170+
nonStatusCopyHashAnnotation: "hn",
171+
statusCopyHashAnnotation: "hs-2",
172172
},
173173
},
174174
},
@@ -220,8 +220,8 @@ func TestCopyToNamespace(t *testing.T) {
220220
UID: "uid",
221221
ResourceVersion: "42",
222222
Annotations: map[string]string{
223-
"$copyhash-nonstatus": "hn-2",
224-
"$copyhash-status": "hs-2",
223+
nonStatusCopyHashAnnotation: "hn-2",
224+
statusCopyHashAnnotation: "hs-2",
225225
},
226226
},
227227
},
@@ -280,8 +280,8 @@ func TestCopyToNamespace(t *testing.T) {
280280
Namespace: "to",
281281
UID: "uid",
282282
Annotations: map[string]string{
283-
"$copyhash-nonstatus": "hn",
284-
"$copyhash-status": "hs",
283+
nonStatusCopyHashAnnotation: "hn",
284+
statusCopyHashAnnotation: "hs",
285285
},
286286
},
287287
},

0 commit comments

Comments
 (0)