From 70015ba75534088f10fbf65c3930e4ae87871dbd Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Fri, 13 Oct 2023 17:18:17 +0530 Subject: [PATCH] Fix typo for organization field in global registration (#12902) Signed-off-by: Gaurav Talreja (cherry picked from commit 5b7f1cb93292ae3f55045c06e49a105b6126f212) --- tests/foreman/ui/test_host.py | 2 +- tests/foreman/ui/test_rhcloud_insights.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/foreman/ui/test_host.py b/tests/foreman/ui/test_host.py index 0485212bffe..8ae756969fe 100644 --- a/tests/foreman/ui/test_host.py +++ b/tests/foreman/ui/test_host.py @@ -1354,7 +1354,7 @@ def test_global_registration_with_capsule_host( session.location.select(loc_name=module_location.name) cmd = session.host.get_register_command( { - 'general.orgnization': module_org.name, + 'general.organization': module_org.name, 'general.location': module_location.name, 'general.operating_system': default_os.title, 'general.capsule': capsule_configured.hostname, diff --git a/tests/foreman/ui/test_rhcloud_insights.py b/tests/foreman/ui/test_rhcloud_insights.py index 07d35ab9d2a..2b1883f90c6 100644 --- a/tests/foreman/ui/test_rhcloud_insights.py +++ b/tests/foreman/ui/test_rhcloud_insights.py @@ -535,7 +535,7 @@ def test_insights_registration_with_capsule( cmd = session.host.get_register_command( { 'general.operating_system': default_os.title, - 'general.orgnization': org.name, + 'general.organization': org.name, 'general.capsule': rhcloud_capsule.hostname, 'advanced.activation_keys': ak.name, 'general.insecure': True,