From 4c499ede02b8d43769d88709d90a588dc9bbef2d Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
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 0e4ad5002..7ab7a6663 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 304fe58d2..4bfbb7c0c 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 1d9d5f0d1..80042aafb 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