internal/tests/ADFSWAP.tests.ps1

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