Skip to content

Commit 5d44e5f

Browse files
committed
PDOK-17792 Unit tests uitwerken voor WMS Kind in mapserver-operator conform ansible-operator. review punten
1 parent 3f1172e commit 5d44e5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/controller/wms_controller_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ var _ = Describe("WMS Controller", func() {
301301
volumeMounts = []v1.VolumeMount{
302302
{Name: "base", MountPath: "/srv/data"},
303303
{Name: mapserver.ConfigMapMapfileGeneratorVolumeName, MountPath: "/input", ReadOnly: true},
304-
{Name: "styling-files", MountPath: "/styling", ReadOnly: true},
304+
{Name: mapserver.ConfigMapStylingFilesVolumeName, MountPath: "/styling", ReadOnly: true},
305305
}
306306
Expect(mapfileGeneratorContainer.VolumeMounts).Should(Equal(volumeMounts))
307307
Expect(mapfileGeneratorContainer.Command).Should(Equal([]string{"generate-mapfile"}))
@@ -460,7 +460,6 @@ var _ = Describe("WMS Controller", func() {
460460
typeNamespacedNameWms.Name = sampleWms.Name
461461
Expect(err).NotTo(HaveOccurred())
462462
sampleWms.Spec.Options.RewriteGroupToDataLayers = smoothoperatorutils.Pointer(false)
463-
//sampleWms.Spec.Options.DisableWebserviceProxy = smoothoperatorutils.Pointer(true)
464463

465464
Expect(k8sClient.Create(ctx, sampleWms.DeepCopy())).To(Succeed())
466465
Expect(k8sClient.Get(ctx, typeNamespacedNameWms, wms)).To(Succeed())

0 commit comments

Comments
 (0)