Add role-specific welcome wallpapers
This commit is contained in:
1 parent
c7c0f941d4
commit
fd051dee80
17 files changed
+345
-35
No files matched your search
@@ -94,4 +94,17 @@ Describe 'SGU Windows client enrollment scripts' {
|
||||
$policySource | Should Match "LockScreenImagePath.*WelcomeLockScreenBasePath"
|
||||
$policySource | Should Match "LockScreenImageUrl.*WelcomeLockScreenBasePath"
|
||||
}
|
||||
|
||||
It 'ships all role-specific wallpaper bases and passes them to the per-logon renderer' {
|
||||
$installerSource = Get-Content -LiteralPath $credentialProviderInstallerPath -Raw
|
||||
$policySource = Get-Content -LiteralPath $computerPolicyScriptPath -Raw
|
||||
$packageSource = Get-Content -LiteralPath $packageScriptPath -Raw
|
||||
foreach ($assetName in 'darkgray-administrative.png','darkred-professor.png') {
|
||||
Test-Path -LiteralPath (Join-Path $repositoryRoot "assets\branding\$assetName") -PathType Leaf | Should Be $true
|
||||
$installerSource | Should Match ([regex]::Escape($assetName))
|
||||
$packageSource | Should Match ([regex]::Escape($assetName))
|
||||
}
|
||||
$policySource | Should Match 'AdministrativeBaseImagePath'
|
||||
$policySource | Should Match 'ProfessorBaseImagePath'
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user