Skip to content

Commit

Permalink
fixed functional test for 5.3 so that it only produces a single Enabl…
Browse files Browse the repository at this point in the history
…eAdminConsentRequests field (#1081)
  • Loading branch information
tkol2022 committed May 2, 2024
1 parent 242dc0e commit 7118084
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions Testing/Functional/Products/TestPlans/aad.testplan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -719,37 +719,40 @@ TestPlan:
- PolicyId: MS.AAD.5.3v1
TestDriver: RunCached
Tests:
- TestDescription: MS.AAD.5.3v1 Non-Compliant case - No Admin Consent workflow configured
- TestDescription: MS.AAD.5.3v1 Non-Compliant case - Empty Consent workflow configured
Preconditions:
- Command: UpdateProviderExport
Splat:
updates:
directory_settings[0].DisplayName: Consent Policy Settings
directory_settings[0].Values:
- Name: EnableAdminConsentRequests
Value: ""
directory_settings:
- DisplayName: Consent Policy Settings
Values:
- Name: EnableAdminConsentRequests
Value: ""
Postconditions: []
ExpectedResult: false
- TestDescription: MS.AAD.5.3v1 Non-Compliant case - No Admin Consent workflow configured false
- TestDescription: MS.AAD.5.3v1 Non-Compliant case - No Admin Consent workflow configured
Preconditions:
- Command: UpdateProviderExport
Splat:
updates:
directory_settings[0].DisplayName: Consent Policy Settings
directory_settings[0].Values:
- Name: EnableAdminConsentRequests
Value: "false"
directory_settings:
- DisplayName: Consent Policy Settings
Values:
- Name: EnableAdminConsentRequests
Value: "false"
Postconditions: []
ExpectedResult: false
- TestDescription: MS.AAD.5.3v1 Compliant case - Admin Consent workflow is configured true
- TestDescription: MS.AAD.5.3v1 Compliant case - Admin Consent workflow is configured
Preconditions:
- Command: UpdateProviderExport
Splat:
updates:
directory_settings[0].DisplayName: Consent Policy Settings
directory_settings[0].Values:
- Name: EnableAdminConsentRequests
Value: "true"
directory_settings:
- DisplayName: Consent Policy Settings
Values:
- Name: EnableAdminConsentRequests
Value: "true"
Postconditions: []
ExpectedResult: true

Expand Down

0 comments on commit 7118084

Please sign in to comment.