Skip to content
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

Fix Import-Module in all Tests #666

Closed
PlagueHO opened this issue Jan 13, 2020 · 0 comments · Fixed by #667
Closed

Fix Import-Module in all Tests #666

PlagueHO opened this issue Jan 13, 2020 · 0 comments · Fixed by #667
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.

Comments

@PlagueHO
Copy link
Member

Change to:

Import-Module -Name DscResource.Test -Force -ErrorAction 'Stop'
@PlagueHO PlagueHO added enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community. labels Jan 13, 2020
PlagueHO added a commit to PlagueHO/xPSDesiredStateConfiguration that referenced this issue Jan 13, 2020
johlju pushed a commit that referenced this issue Jan 13, 2020
- Fix import statement in all tests, making sure it throws if module
  DscResource.Test cannot be imported - fixes
  issue #666.
- Fix deploy stage in CI pipeline to prevent it executing against forks
  of the repository - fixes issue #665.

[skip ci]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is an enhancement request. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant