Skip to content

Commit

Permalink
Debug scope issue
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchfield committed Jan 24, 2024
1 parent 72fa1d5 commit 0f96285
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
$OrchestratorPath = '../../../../Modules/Orchestrator.psm1'
$ScubaConfigPath = '../../../../Modules/ScubaConfig/ScubaConfig.psm1'
$ConnectionPath = '../../../../Modules/Connection/Connection.psm1'

Import-Module (Join-Path -Path $PSScriptRoot -ChildPath $OrchestratorPath) -Force
Import-Module (Join-Path -Path $PSScriptRoot -ChildPath $ScubaConfigPath) -Force
Import-Module (Join-Path -Path $PSScriptRoot -ChildPath $ConnectionPath) -Function Disconnect-SCuBATenant -Force

InModuleScope Orchestrator {
Context "Parameter override test"{
BeforeAll{
$ConnectionPath = '../../../../Modules/Connection/Connection.psm1'
Import-Module (Join-Path -Path $PSScriptRoot -ChildPath $ConnectionPath) -Function Disconnect-SCuBATenant -Force

function SetupMocks{
$script:TestSplat = @{}
Mock -ModuleName Orchestrator Remove-Resources {}
Expand Down

0 comments on commit 0f96285

Please sign in to comment.