-
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
xActiveDirectory: Migrate Pester test syntax from v3 -> v4 #322
Labels
enhancement
The issue is an enhancement request.
Comments
johlju
added
enhancement
The issue is an enhancement request.
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
help wanted
The issue is up for grabs for anyone in the community.
labels
Jun 5, 2019
johlju
added
in progress
The issue is being actively worked on by someone.
and removed
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
help wanted
The issue is up for grabs for anyone in the community.
labels
Jun 7, 2019
I'm working on this one |
johlju
added a commit
to johlju/ActiveDirectoryDsc
that referenced
this issue
Jun 7, 2019
johlju
added a commit
to johlju/ActiveDirectoryDsc
that referenced
this issue
Jun 8, 2019
johlju
added a commit
to johlju/ActiveDirectoryDsc
that referenced
this issue
Jun 13, 2019
johlju
added a commit
to johlju/ActiveDirectoryDsc
that referenced
this issue
Jun 15, 2019
johlju
added a commit
to johlju/ActiveDirectoryDsc
that referenced
this issue
Jun 15, 2019
johlju
added a commit
to johlju/ActiveDirectoryDsc
that referenced
this issue
Jun 15, 2019
johlju
added a commit
that referenced
this issue
Jun 16, 2019
- Changes to xActiveDirectory - Cleanup of code - Removed semicolon throughout where it is not needed. - Migrate tests to Pester syntax v4.x (issue #322). - Removed `-MockWith {}` in unit tests. - Changes to xADRecycleBin - Code cleanup. - It now set back the `$ErrorActionPreference` that was set prior to setting it to `'Stop'`. - Changes to xADDomainDefaultPasswordPolicy - Code cleanup. - Changes to xADDomainTrust - Code cleanup. - Changes to xADForestProperties - Minor style cleanup. - Changes to xADOrganizationalUnit - Code cleanup. - Changes to xADReplicationSiteLink - Code cleanup. - Changes to xADReplicationSubnet - Code cleanup. - Changes to xADKDSKey - Code cleanup. - Changes to xADManagedServiceAccount - Code cleanup. - Changes to xADServicePrincipalName - Code cleanup. - Changes to xWaitForADDomain - Code cleanup. - Changes to xADDomainController - Code cleanup. - Changes to xADObjectPermissionEntry - Code cleanup. - Changes to xADGroup - Code cleanup. - Changes to xADUser - Code cleanup. - Changes to xADDomain - Code cleanup.
This was merged in PR #326 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of Pester v4 the syntax of the Should cmdlet has changed from for example
Should Be
toShould -Be
.There is a helpful script that can be used to easily perform the conversion:
https://gist.github.com/indented-automation/aeb14825e39dd8849beee44f681fbab3
This script should be used to correct the Pester syntax in all unit tests.
The text was updated successfully, but these errors were encountered: