Skip to content

Commit 0f4973f

Browse files
committed
Remove nonsense test
1 parent f46468a commit 0f4973f

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

pkg/cvo/cvo_featuregates_test.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,3 @@ func TestOperator_updateEnabledFeatureGates(t *testing.T) {
174174
})
175175
}
176176
}
177-
178-
func TestOperator_initializeFeatureGates(t *testing.T) {
179-
// This test would require mocking the featureGateLister
180-
// For now, test that the method doesn't panic and initializes empty set
181-
optr := &Operator{
182-
enabledManifestFeatureGates: sets.New[string]("should-be-cleared"),
183-
}
184-
185-
optr.initializeFeatureGates()
186-
187-
result := optr.getEnabledFeatureGates()
188-
if result.Len() != 0 {
189-
t.Error("initializeFeatureGates() should initialize with empty set when lister not available")
190-
}
191-
}

0 commit comments

Comments
 (0)