Move the test resource out of `./webhook`. (#32)

This is so that other things can more naturally write tests using this same test resource.
This commit is contained in:
Matt Moore 2018-07-31 16:02:37 -07:00 committed by Google Prow Robot
parent bba99e266c
commit fdf2fdcd93
5 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ go install ./vendor/k8s.io/code-generator/cmd/deepcopy-gen
# Depends on generate-groups.sh to install bin/deepcopy-gen
${GOPATH}/bin/deepcopy-gen --input-dirs \
github.com/knative/pkg/logging,github.com/knative/pkg/webhook/testing \
github.com/knative/pkg/logging,github.com/knative/pkg/testing \
-O zz_generated.deepcopy \
--go-header-file ${PKG_ROOT}/hack/boilerplate/boilerplate.go.txt

View File

@ -42,7 +42,7 @@ import (
fakekubeclientset "k8s.io/client-go/kubernetes/fake"
. "github.com/knative/pkg/logging/testing"
. "github.com/knative/pkg/webhook/testing"
. "github.com/knative/pkg/testing"
)
func newDefaultOptions() ControllerOptions {