From 561b370a44b900a11e6c9669433b5c96e0330135 Mon Sep 17 00:00:00 2001
From: aadityasinha-dotcom <aadityasinha009@gmail.com>
Date: Tue, 19 Sep 2023 18:50:29 +0530
Subject: [PATCH] fix tests

Signed-off-by: aadityasinha-dotcom <aadityasinha009@gmail.com>
---
 src/core/zowe/core_for_zowe_sdk/profile_manager.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/core/zowe/core_for_zowe_sdk/profile_manager.py b/src/core/zowe/core_for_zowe_sdk/profile_manager.py
index 72a27f6f..f29a7853 100644
--- a/src/core/zowe/core_for_zowe_sdk/profile_manager.py
+++ b/src/core/zowe/core_for_zowe_sdk/profile_manager.py
@@ -160,6 +160,7 @@ def get_profile(
         cfg: ConfigFile,
         profile_name: Optional[str],
         profile_type: Optional[str],
+        config_type: Optional[str],
         validate_schema: Optional[bool] = True,
     ) -> Profile:
         """
@@ -284,7 +285,7 @@ def load(
 
         for i, (config_type, cfg) in enumerate(config_layers.items()):
             profile_loaded = self.get_profile(
-                cfg, profile_name, profile_type, validate_schema
+                cfg, profile_name, profile_type, config_type, validate_schema
             )
             # TODO Why don't user and password show up here for Project User Config?
             # Probably need to update load_profile_properties method in config_file.py