Skip to content

Commit 7144858

Browse files
committed
update unit tests
Signed-off-by: everettraven <[email protected]>
1 parent afe2d61 commit 7144858

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: pkg/controller/operators/olm/operatorgroup_test.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ func TestCopyToNamespace(t *testing.T) {
112112
UID: "uid",
113113
ResourceVersion: "42",
114114
Annotations: map[string]string{
115-
"$copyhash-nonstatus": "hn-2",
116-
"$copyhash-status": "hs",
115+
nonStatusCopyHashAnnotation: "hn-2",
116+
statusCopyHashAnnotation: "hs",
117117
},
118118
},
119119
},
@@ -165,8 +165,8 @@ func TestCopyToNamespace(t *testing.T) {
165165
UID: "uid",
166166
ResourceVersion: "42",
167167
Annotations: map[string]string{
168-
"$copyhash-nonstatus": "hn",
169-
"$copyhash-status": "hs-2",
168+
nonStatusCopyHashAnnotation: "hn",
169+
statusCopyHashAnnotation: "hs-2",
170170
},
171171
},
172172
},
@@ -218,8 +218,8 @@ func TestCopyToNamespace(t *testing.T) {
218218
UID: "uid",
219219
ResourceVersion: "42",
220220
Annotations: map[string]string{
221-
"$copyhash-nonstatus": "hn-2",
222-
"$copyhash-status": "hs-2",
221+
nonStatusCopyHashAnnotation: "hn-2",
222+
statusCopyHashAnnotation: "hs-2",
223223
},
224224
},
225225
},
@@ -278,8 +278,8 @@ func TestCopyToNamespace(t *testing.T) {
278278
Namespace: "to",
279279
UID: "uid",
280280
Annotations: map[string]string{
281-
"$copyhash-nonstatus": "hn",
282-
"$copyhash-status": "hs",
281+
nonStatusCopyHashAnnotation: "hn",
282+
statusCopyHashAnnotation: "hs",
283283
},
284284
},
285285
},

0 commit comments

Comments
 (0)