Skip to content

Commit d3de3b1

Browse files
add extension test
1 parent 0e0e6c2 commit d3de3b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Extensions/Invoke-ExecExtensionTest.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ Function Invoke-ExecExtensionTest {
5555
$Results = [pscustomobject]@{'Results' = 'Failed to connect to Hudu' }
5656
}
5757
}
58+
'Sherweb' {
59+
$token = Get-SherwebAuthentication
60+
$Results = [pscustomobject]@{'Results' = 'Successfully Connected to Sherweb' }
61+
}
5862
}
5963
} catch {
6064
$Results = [pscustomobject]@{'Results' = "Failed to connect: $($_.Exception.Message) $($_.InvocationInfo.ScriptLineNumber)" }

0 commit comments

Comments
 (0)