File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
website/content/en/docs/testing-operators/scorecard Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ The `tests.go` file is where the custom tests are implemented in the sample test
6969package tests
7070
7171import (
72- " github.com/operator-framework/operator-registry /pkg/registry "
72+ apimanifests " github.com/operator-framework/api /pkg/manifests "
7373 scapiv1alpha3 " github.com/operator-framework/api/pkg/apis/scorecard/v1alpha3"
7474)
7575
@@ -78,10 +78,9 @@ const (
7878)
7979
8080// CustomTest1
81- func CustomTest1 (bundle registry .Bundle ) scapiv1alpha3 .TestStatus {
81+ func CustomTest1 (bundle * apimanifests .Bundle ) scapiv1alpha3 .TestStatus {
8282 r := scapiv1alpha3.TestResult {}
8383 r.Name = CustomTest1Name
84- r.Description = " Custom Test 1"
8584 r.State = scapiv1alpha3.PassState
8685 r.Errors = make ([]string , 0 )
8786 r.Suggestions = make ([]string , 0 )
You can’t perform that action at this time.
0 commit comments