mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add test to verify that a simple workflow can run
This commit is contained in:
@@ -28,6 +28,12 @@ Describe 'build.psm1 and powershell.exe' {
|
||||
[Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase].Assembly.Location | Should Be (
|
||||
Join-Path $env:DEVPATH Microsoft.PowerShell.Security.dll)
|
||||
}
|
||||
|
||||
It 'loads Microsoft.PowerShell.Workflow.ServiceCore.dll' {
|
||||
workflow wfTest {}; wfTest ## Trigger the loading of ServiceCore.dll
|
||||
[Microsoft.PowerShell.Workflow.PSWorkflowJob].Assembly.Location | Should Be (
|
||||
Join-Path $env:DEVPATH Microsoft.PowerShell.Workflow.ServiceCore.dll)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user