Skip to content

Commit 3870e86

Browse files
committed
Adjust test names
1 parent 4113aa3 commit 3870e86

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/controller/state/mirror/mirror_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func TestPathWithBackendRef(t *testing.T) {
2929
idx int
3030
}{
3131
{
32-
name: "with namespace",
32+
name: "with backendRef namespace",
3333
idx: 1,
3434
backendRef: v1.BackendObjectReference{
3535
Name: "service1",
@@ -39,7 +39,7 @@ func TestPathWithBackendRef(t *testing.T) {
3939
expected: helpers.GetPointer("/_ngf-internal-mirror-namespace1/service1-routeNs/routeName1-1"),
4040
},
4141
{
42-
name: "without namespace",
42+
name: "without backendRef namespace",
4343
idx: 2,
4444
backendRef: v1.BackendObjectReference{
4545
Name: "service2",
@@ -72,15 +72,15 @@ func TestBackendPath(t *testing.T) {
7272
idx int
7373
}{
7474
{
75-
name: "With namespace",
75+
name: "With backendRef namespace",
7676
idx: 1,
7777
namespace: helpers.GetPointer("namespace1"),
7878
service: "service1",
7979
routeNsName: types.NamespacedName{Namespace: "routeNs", Name: "routeName1"},
8080
expected: helpers.GetPointer("/_ngf-internal-mirror-namespace1/service1-routeNs/routeName1-1"),
8181
},
8282
{
83-
name: "Without namespace",
83+
name: "Without backendRef namespace",
8484
idx: 2,
8585
namespace: nil,
8686
service: "service2",

0 commit comments

Comments
 (0)