internal/tests/DC.tests.ps1

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