File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -981,13 +981,11 @@ func TestScanProducesRemediationsAndLabels(t *testing.T) {
981981 if len (checkList .Items ) == 0 {
982982 t .Fatal ("expected at least one check result" )
983983 }
984- // Expected scan name is binding name + profile name
985- expectedScanName := bindingName + "-" + tpName
986984 // Verify all required labels are present on every check result
987985 // For some labels we can verify the exact value
988986 labelsWithValues := map [string ]string {
989987 compv1alpha1 .SuiteLabel : bindingName ,
990- compv1alpha1 .ComplianceScanLabel : expectedScanName ,
988+ compv1alpha1 .ComplianceScanLabel : bindingName ,
991989 }
992990 // For other labels we just verify they are present (non-empty)
993991 labelsPresenceOnly := []string {
You can’t perform that action at this time.
0 commit comments