diff --git a/test/e2e/gateways/create_test.go b/test/e2e/gateways/create_test.go index c144d4fd..f135ba7a 100644 --- a/test/e2e/gateways/create_test.go +++ b/test/e2e/gateways/create_test.go @@ -76,6 +76,7 @@ func TestGateways_Create(t *testing.T) { apiClient := helper.TestClient() gateways, _, err := apiClient.MetalGatewaysApi. FindMetalGatewaysByProject(context.Background(), projectId). + Include([]string{"ip_reservation"}). Execute() if err != nil { t.Error(err) diff --git a/test/e2e/gateways/delete_test.go b/test/e2e/gateways/delete_test.go index eb17b862..84e7eb9b 100644 --- a/test/e2e/gateways/delete_test.go +++ b/test/e2e/gateways/delete_test.go @@ -93,6 +93,7 @@ func TestGateways_Delete(t *testing.T) { apiClient := helper.TestClient() gateways, _, err := apiClient.MetalGatewaysApi. FindMetalGatewayById(context.Background(), metalGateway.GetId()). + Include([]string{"ip_reservation"}). Execute() if err != nil && !strings.Contains(err.Error(), "Not Found") { t.Error(err)