-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADReplicationSiteLink: Integration tests is missing for this resource #356
Comments
Hi @johlju To do the integration tests for the Site Links, existing sites will need to be created beforehand. Should I put the New-ADReplicationSite commands in the Try of the integration.tests.ps1 file just after the configFile = join-path or should I put them elsewhere? I will add a remove-ADReplicationSite at the end of the tests. |
I usually make a prerequisites integration test that creates dependencies using DSC. That integration test only runs the Start test and I skip Get-test and Test-test. If that is not possible, there are no DSC resources to make why you need, then add the necessary code in a BeforeAll-block in the Describe-block. |
Perfect thank you very much. Will do that 👍 |
We should add integration tests for this resource.
The text was updated successfully, but these errors were encountered: