From 5cccfb0106555c5f6d6a27eeda8f335b981a5c9b Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Fri, 22 Mar 2024 11:52:47 +0100 Subject: [PATCH] Fix test stuite Signed-off-by: Petr "Stone" Hracek --- tests/test_cakephp.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_cakephp.py b/tests/test_cakephp.py index dbe2d48e3..74c0a9cf4 100644 --- a/tests/test_cakephp.py +++ b/tests/test_cakephp.py @@ -28,7 +28,7 @@ def test_template_inside_cluster(self): expected_output = "Welcome to PHP" if VERSION.startswith("7.4") or VERSION.startswith("8.0"): branch_to_test = "4.X" - expected_output = "Welcome to CakePHP 4.5" + expected_output = "Welcome to CakePHP 4" if VERSION.startswith("8.1") or VERSION.startswith("8.2"): branch_to_test = "5.X" expected_output = "Welcome to CakePHP 5" @@ -50,7 +50,7 @@ def test_template_by_request(self): expected_output = "Welcome to PHP" if VERSION.startswith("7.4") or VERSION.startswith("8.0"): branch_to_test = "4.X" - expected_output = "Welcome to CakePHP 4.5" + expected_output = "Welcome to CakePHP 4" elif VERSION.startswith("8.1") or VERSION.startswith("8.2"): branch_to_test = "5.X" expected_output = "Welcome to CakePHP 5" @@ -64,5 +64,6 @@ def test_template_by_request(self): ) assert self.oc_api.template_deployed(name_in_template="cakephp-example") assert self.oc_api.check_response_outside_cluster( + protocol="https", name_in_template="cakephp-example", expected_output=expected_output )