dsccommunity / ComputerManagementDsc

DSC resources for for configuration of a Windows computer. These DSC resources allow you to perform computer management tasks, such as renaming the computer, joining a domain and scheduling tasks as well as configuring items such as virtual memory, event logs, time zones and power settings.
https://dsccommunity.org
MIT License
303 stars 83 forks source link

Missing unit tests for private functions #403

Closed johlju closed 1 year ago

johlju commented 1 year ago

There are several private functions that never got there corresponding unit test merged. They were missed during review of PR #395.

The unit tests already exists here: https://github.com/dsccommunity/SqlServerDsc/tree/main/tests/Unit/Private

The unit tests need to be modified to be able to be run by Pester 4 since the pipeline here does not yet use Pester 5.