From 3934630a01e8e7a4d1f4be5b81edef1845c0169b Mon Sep 17 00:00:00 2001
From: OZG-Cloud Team <noreply@ozg-sh.de>
Date: Wed, 28 Aug 2024 15:48:29 +0200
Subject: [PATCH] OZG-6254 OZG-6484 pvog routing fix network policy test

---
 src/test/helm/network_policy_test.yaml                          | 2 +-
 xta-adapter/src/test/helm/network_policy_test.yaml              | 2 +-
 .../src/test/helm/xta_adapter_cronjob_routing_zufi_test.yaml    | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/test/helm/network_policy_test.yaml b/src/test/helm/network_policy_test.yaml
index 0e4ad500..7ab7a666 100644
--- a/src/test/helm/network_policy_test.yaml
+++ b/src/test/helm/network_policy_test.yaml
@@ -154,7 +154,7 @@ tests:
         routingStrategy: ZUFI
     asserts:
     - failedTemplate:
-        errorMessage: routing.zufiManager.namespace must be set if antragraum is enabled
+        errorMessage: routing.zufiManager.namespace must be set if routingStrategy=ZUFI
 
   - it: should not add zufi rule when zufi-routing is disabled
     set:
diff --git a/xta-adapter/src/test/helm/network_policy_test.yaml b/xta-adapter/src/test/helm/network_policy_test.yaml
index 304fe58d..4bfbb7c0 100644
--- a/xta-adapter/src/test/helm/network_policy_test.yaml
+++ b/xta-adapter/src/test/helm/network_policy_test.yaml
@@ -192,7 +192,7 @@ tests:
         routingStrategy: ZUFI
     asserts:
     - failedTemplate:
-        errorMessage: routing.zufiManager.namespace must be set if antragraum is enabled
+        errorMessage: routing.zufiManager.namespace must be set if routingStrategy=ZUFI
 
   - it: should not add zufi rule when zufi-routing is disabled
     set:
diff --git a/xta-adapter/src/test/helm/xta_adapter_cronjob_routing_zufi_test.yaml b/xta-adapter/src/test/helm/xta_adapter_cronjob_routing_zufi_test.yaml
index 1d9d5f0d..80042aaf 100644
--- a/xta-adapter/src/test/helm/xta_adapter_cronjob_routing_zufi_test.yaml
+++ b/xta-adapter/src/test/helm/xta_adapter_cronjob_routing_zufi_test.yaml
@@ -29,7 +29,6 @@ release:
 templates:
   - templates/xta_adapter_cronjob.yaml
 set:
-  image.tag: latest
   ozgcloud.environment: test
   imagePullSecret: image-pull-secret
 tests:
-- 
GitLab