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

Tests: Use Force while importing module to export aliases #9404

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

andreasjordan
Copy link
Contributor

Type of Change

  • Bug fix (non-breaking change, fixes # )
  • New feature (non-breaking change, adds functionality, fixes # )
  • Breaking change (affects multiple commands or functionality, fixes # )
  • Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
  • Adding code coverage to existing functionality
  • Pester test is included
  • If new file reference added for test, has is been added to github.com/dataplat/appveyor-lab ?
  • Unit test is included
  • Documentation
  • Build system

Before this change, the aliases are not exported and the test for Connect-DbaInstance failed with Get-Alias : This command cannot find a matching alias because an alias with the name 'cdi' does not exist..

Why is this needed? Is this change the best way?

@potatoqualitee potatoqualitee merged commit 75bd15e into development Jun 29, 2024
13 checks passed
@potatoqualitee potatoqualitee deleted the manual_tests_import_module branch June 29, 2024 01:01
@potatoqualitee
Copy link
Member

Yall are awesome 🙌🏼 Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants