File tree Expand file tree Collapse file tree
cumulusci/tasks/preflight/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,18 +51,25 @@ def test_psl_preflight(self):
5151
5252 def test_assigned_permsetlicense_preflight (self ):
5353 task = create_task (GetPermissionLicenseSetAssignments , {})
54- task .org_config .user_id = "USER_ID"
5554 task ._init_api = Mock ()
56-
5755 task ._init_api .return_value .query_all .return_value = {
5856 "totalSize" : 2 ,
5957 "done" : True ,
6058 "records" : [
61- {"PermissionSetLicense" : {"DeveloperName" : "DocumentChecklist" }},
62- {"PermissionSetLicense" : {"DeveloperName" : "EinsteinAnalyticsPlusAdmin" }},
59+ {
60+ "PermissionSetLicense" : {
61+ "MasterLabel" : "Document Checklist" ,
62+ "DeveloperName" : "DocumentChecklist" ,
63+ }
64+ },
65+ {
66+ "PermissionSetLicense" : {
67+ "MasterLabel" : "Einstein Analytics Plus Admin" ,
68+ "DeveloperName" : "EinsteinAnalyticsPlusAdmin"
69+ }
70+ },
6371 ],
6472 }
65-
6673 task ()
6774
6875 task ._init_api .return_value .query_all .assert_called_once_with (
You can’t perform that action at this time.
0 commit comments