Skip to content

Commit 9973b4e

Browse files
committed
Changing expect test from Namespace to Name
1 parent c1a6dfc commit 9973b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/utils/debuggingconfigurations_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ var _ = Describe("DebuggingConfigurations", func() {
7474
}
7575

7676
Expect(k8sAccess.UpdateDebuggingConfiguration(context.TODO(), currentDC, "", "", "")).To(Succeed())
77-
Expect(c.Get(context.TODO(), types.NamespacedName{Namespace: utils.DefaultInstanceName}, currentDC)).To(Succeed())
77+
Expect(c.Get(context.TODO(), types.NamespacedName{Name: utils.DefaultInstanceName}, currentDC)).To(Succeed())
7878
Expect(len(currentDC.Spec.Configuration)).To(Equal(1))
7979
})
8080
})

0 commit comments

Comments
 (0)