Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
xSQLServerAlwaysOnAvailabilityGroup: Should use the correct major version SQLPS stubs for unit tests #784
Details of the scenario you tried and the problem that is occurring:
Currently parameters are added to the existing SQLPS stubs making such test impossible. See for example the stub for
The DSC configuration that is using the resource (as detailed as possible):
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
You mean the other resources in this module? No, but I think they should.
We should also have another stub file for SqlServer module as well.
Yes. And I suggest you use the same path and filename as here.
The helper functions in this should be moved over here later as well (another issue), but then we have the file already present to add the helper functions to. :)