Skip to content

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Nov 1, 2024
1 parent e274e75 commit 7db6711
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/provider/kubernetes/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ func Test_mergeRouteParentStatus(t *testing.T) {
ParentRef: gwapiv1.ParentReference{
Name: "gateway1",
Namespace: ptr.To[gwapiv1.Namespace]("default"),
SectionName: ptr.To[gwapiv1.SectionName]("listener1"),
Port: ptr.To[gwapiv1.PortNumber](80),
},
Conditions: []metav1.Condition{
{
Expand Down Expand Up @@ -70,6 +72,8 @@ func Test_mergeRouteParentStatus(t *testing.T) {
ParentRef: gwapiv1.ParentReference{
Name: "gateway1",
Namespace: ptr.To[gwapiv1.Namespace]("default"),
SectionName: ptr.To[gwapiv1.SectionName]("listener1"),
Port: ptr.To[gwapiv1.PortNumber](80),
},
Conditions: []metav1.Condition{
{
Expand Down

0 comments on commit 7db6711

Please sign in to comment.