Skip to content

Commit 4f0a8eb

Browse files
committed
Fix test after moving file directory
1 parent be0eb66 commit 4f0a8eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/operator/controllers/external_traffic/external_traffic_network_policy_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ func (s *ExternalNetworkPolicyReconcilerTestSuite) SetupSuite() {
5757
logrus.Info("Setting up test suite")
5858
s.TestEnv = &envtest.Environment{Scheme: clientgoscheme.Scheme}
5959
var err error
60-
s.TestEnv.CRDDirectoryPaths = []string{filepath.Join("..", "..", "..", "config", "crd")}
60+
s.TestEnv.CRDDirectoryPaths = []string{filepath.Join("..", "..", "config", "crd")}
6161
s.TestEnv.WebhookInstallOptions = envtest.WebhookInstallOptions{
62-
Paths: []string{filepath.Join("..", "..", "..", "config", "webhook")},
62+
Paths: []string{filepath.Join("..", "..", "config", "webhook")},
6363
LocalServingHost: "localhost",
6464
}
6565
utilruntime.Must(apiextensionsv1.AddToScheme(s.TestEnv.Scheme))

0 commit comments

Comments
 (0)