Public/Get-ConnectorAuthSettings.tests.ps1
|
Describe "Get-ConnectorAuthSettings" { BeforeAll { Import-Module "$($PSScriptRoot)/.." -Force } It "Should return fqdn and apiresource: -internal -development" { $a = Get-ConnectorAuthSettings -Internal -Development $a.fqdn | Should -Not -BeNullOrEmpty $a.apiresource | Should -Not -BeNullOrEmpty } It "Should return fqdn and apiresource: -internal" { $a = Get-ConnectorAuthSettings -Internal $a.fqdn | Should -Not -BeNullOrEmpty $a.apiresource | Should -Not -BeNullOrEmpty } It "Should return fqdn and apiresource: -development" { $a = Get-ConnectorAuthSettings -Development $a.fqdn | Should -Not -BeNullOrEmpty $a.apiresource | Should -Not -BeNullOrEmpty } It "Should return fqdn and apiresource: default" { $a = Get-ConnectorAuthSettings $a.fqdn | Should -Not -BeNullOrEmpty $a.apiresource | Should -Not -BeNullOrEmpty } } |