Skip to content

Commit

Permalink
Remove custom ginkgo reporter from api/v1beta1 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunyiLyu committed May 12, 2021
1 parent 229f3ad commit b03d3d9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions api/v1beta1/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"k8s.io/client-go/rest"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/envtest"
"sigs.k8s.io/controller-runtime/pkg/envtest/printer"
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
)
Expand All @@ -22,10 +21,7 @@ var testEnv *envtest.Environment

func TestAPIs(t *testing.T) {
RegisterFailHandler(Fail)

RunSpecsWithDefaultAndCustomReporters(t,
"v1beta1 Suite",
[]Reporter{printer.NewlineReporter{}})
RunSpecs(t, "v1beta1 Suite")
}

var _ = BeforeSuite(func() {
Expand Down

0 comments on commit b03d3d9

Please sign in to comment.