Skip to content

Commit 0a36292

Browse files
committed
Internalize test pkgs
Moves the test utils package to internal/ Signed-off-by: Daniel Franz <[email protected]>
1 parent 3d6a33b commit 0a36292

File tree

12 files changed

+9
-9
lines changed

12 files changed

+9
-9
lines changed

test/utils/artifacts.go renamed to internal/shared/util/testutils/artifacts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package utils
1+
package testutils
22

33
import (
44
"context"

test/utils/summary.go renamed to internal/shared/util/testutils/summary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package utils
1+
package testutils
22

33
import (
44
"context"

test/utils/utils.go renamed to internal/shared/util/testutils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package utils
1+
package testutils
22

33
import (
44
"os/exec"

test/e2e/cluster_extension_install_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"sigs.k8s.io/controller-runtime/pkg/client"
2626

2727
ocv1 "github.com/operator-framework/operator-controller/api/v1"
28-
"github.com/operator-framework/operator-controller/test/utils"
28+
utils "github.com/operator-framework/operator-controller/internal/util/testutils"
2929
)
3030

3131
const (

test/e2e/e2e_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
ocv1 "github.com/operator-framework/operator-controller/api/v1"
1818
"github.com/operator-framework/operator-controller/internal/operator-controller/scheme"
19-
utils "github.com/operator-framework/operator-controller/test/utils"
19+
utils "github.com/operator-framework/operator-controller/internal/util/testutils"
2020
)
2121

2222
var (

test/e2e/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/stretchr/testify/require"
2626
"k8s.io/apimachinery/pkg/util/rand"
2727

28-
"github.com/operator-framework/operator-controller/test/utils"
28+
utils "github.com/operator-framework/operator-controller/internal/util/testutils"
2929
)
3030

3131
// TestOperatorControllerMetricsExportedEndpoint verifies that the metrics endpoint for the operator controller

test/e2e/network_policy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"k8s.io/utils/ptr"
1616
"sigs.k8s.io/controller-runtime/pkg/client"
1717

18-
"github.com/operator-framework/operator-controller/test/utils"
18+
utils "github.com/operator-framework/operator-controller/internal/util/testutils"
1919
)
2020

2121
const (

0 commit comments

Comments
 (0)