internal/tests/ADFSProxy.tests.ps1

1
2
3
4
5
6
7
8
9
Describe "[$($Lab.Name)] ADFSProxy" -Tag ADFSProxy {
Context "Role deployment successful" {
        It "[ADFSProxy] Should return the correct amount of machines" {
            (Get-LabVm -Role ADFSProxy).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'ADFSProxy'}).Count
        }
    }
}