Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 3476124

Browse files
committed
adapt new unit test to support docker os type
1 parent 998fe6e commit 3476124

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Test-Source/Invoke-DockerTests.Tests.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,8 @@ Describe 'Run docker tests using Google Structure' {
184184

185185
It 'outputs result if Quiet is disabled' {
186186
$tempFile = New-TemporaryFile
187-
$structureCommandConfig = Join-Path $Global:StructureTestsFailDir 'testbash.yml'
187+
$structureCommandConfig = Join-Path $Global:StructureTestsFailDir $DockerOsType 'testshell.yml'
188188
$configs = @($structureCommandConfig)
189-
$imageToTest = 'ubuntu:latest'
190189

191190
Invoke-DockerTests -ImageName $imageToTest -ConfigFiles $configs -Quiet:$false 6> $tempFile
192191

0 commit comments

Comments
 (0)