ComputerManagementDsc icon indicating copy to clipboard operation
ComputerManagementDsc copied to clipboard

ScheduledTask: Add Test to cover 'StopExisting' value in MultipleInstances Parameter

Open PlagueHO opened this issue 5 years ago • 0 comments

The StopExisting value in the MultipleInstances parameter must be handled in a special way because it is missing from the ENUM used by the underlying cmdlets/objects.

We don't have unit tests that specifically cover the use of this, so either extract the handling into a function that can be mocked and/or add an integration test.

See https://github.com/dsccommunity/ComputerManagementDsc/pull/335

PlagueHO avatar Jun 26 '20 22:06 PlagueHO