This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #277 from saadsahibjan/master
Fixes for integration tests
- Loading branch information
Showing
6 changed files
with
73 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 27 additions & 24 deletions
51
...on/tests-integration/src/test/resources/payloads/android-policy-work-profile-payload.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
{"POST": { | ||
"policyName": "Work-Profile", | ||
"description": "", | ||
"compliance": "enforce", | ||
"ownershipType": "ANY", | ||
"profile": { | ||
"profileName": "Work-Profile", | ||
"deviceType": { | ||
"id": 1 | ||
{ | ||
"POST": { | ||
"policyName":"Work-Profile", | ||
"description":"", | ||
"compliance":"enforce", | ||
"ownershipType":"ANY", | ||
"active":false, | ||
"profile":{ | ||
"profileName":"Work-Profile", | ||
"deviceType":"android", | ||
"profileFeaturesList":[ | ||
{ | ||
"featureCode":"WORK_PROFILE", | ||
"deviceType":"android", | ||
"content":{ | ||
"profileName":"Work-Profile", | ||
"enableSystemApps":"com.google.android.apps.maps", | ||
"hideSystemApps":"com.google.android.calculator", | ||
"unhideSystemApps":null, | ||
"enablePlaystoreApps":"com.google.android.whity" | ||
} | ||
} | ||
] | ||
}, | ||
"profileFeaturesList": [{ | ||
"featureCode": "WORK_PROFILE", | ||
"deviceTypeId": 1, | ||
"content": { | ||
"DISALLOW_CROSS_PROFILE_COPY_PASTE": true, | ||
"profileName": "WSO2 Profile", | ||
"enableSystemApps": "com.google.android.apps.maps", | ||
"hideSystemApps": "com.google.android.calculator", | ||
"unhideSystemApps": null, | ||
"enablePlaystoreApps": "com.google.android.whity" | ||
} | ||
}] | ||
}, | ||
"roles": ["ANY"] | ||
} | ||
"roles":[ | ||
"ANY" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters