From 2f4e7151538674522f8751cf7f64af436c90e36c Mon Sep 17 00:00:00 2001 From: Wouter Remijn Date: Wed, 4 Jun 2025 10:57:51 +0200 Subject: [PATCH 1/2] test change --- api/v3/wms_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/wms_types.go b/api/v3/wms_types.go index 071ff35..270392d 100644 --- a/api/v3/wms_types.go +++ b/api/v3/wms_types.go @@ -218,7 +218,7 @@ type Layer struct { // +kubebuilder:validation:Pattern:=`^[1-9][0-9]*(.[0-9]+)?$` MaxScaleDenominator *string `json:"maxscaledenominator,omitempty"` - // List of styles used by the layer + // List of styles used by the layers // +kubebuilder:validations:MinItems:=1 Styles []Style `json:"styles,omitempty"` From 7f83c2379901b10ab8f258bb8cd7b8f9caf5797d Mon Sep 17 00:00:00 2001 From: Wouter Remijn Date: Wed, 4 Jun 2025 11:00:13 +0200 Subject: [PATCH 2/2] failing test --- api/v3/wms_types.go | 2 +- internal/controller/wfs_controller_test.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/api/v3/wms_types.go b/api/v3/wms_types.go index 270392d..071ff35 100644 --- a/api/v3/wms_types.go +++ b/api/v3/wms_types.go @@ -218,7 +218,7 @@ type Layer struct { // +kubebuilder:validation:Pattern:=`^[1-9][0-9]*(.[0-9]+)?$` MaxScaleDenominator *string `json:"maxscaledenominator,omitempty"` - // List of styles used by the layers + // List of styles used by the layer // +kubebuilder:validations:MinItems:=1 Styles []Style `json:"styles,omitempty"` diff --git a/internal/controller/wfs_controller_test.go b/internal/controller/wfs_controller_test.go index f542db5..525cfbe 100644 --- a/internal/controller/wfs_controller_test.go +++ b/internal/controller/wfs_controller_test.go @@ -49,6 +49,12 @@ import ( var _ = Describe("Testing WFS Controller", func() { + Context("test", func() { + It("fails", func() { + Fail("failure") + }) + }) + Context("Testing Mutate functions for Minimal WFS", func() { testMutates(getWFSReconciler, &pdoknlv3.WFS{}, "minimal") })