ps/Modules/Alkami.PowerShell.Services/Public/Get-AppTierServices.tests.ps1

21 lines
672 B
PowerShell
Raw Normal View History

2023-05-30 22:51:22 -07:00
. $PSScriptRoot\..\..\Load-PesterModules.ps1
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.tests\.', '.'
$functionPath = Join-Path -Path $here -ChildPath $sut
Write-Host "Overriding SUT: $functionPath"
Import-Module $functionPath -Force
$moduleForMock = ""
Describe "Get-AppTierServices" {
Context "Ensure that it returns some values" {
$values = Get-AppTierServices
It "should have some values" {
$values | Should -Not -BeNullOrEmpty
}
}
Context "Ensure that it does not throw" {
{ Get-AppTierServices } | Should -Not -Throw
}
}