Add integration test for Get-SqlDscDatabasePermission command#2253
Add integration test for Get-SqlDscDatabasePermission command#2253
Conversation
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2253 +/- ##
====================================
Coverage 94% 94%
====================================
Files 149 149
Lines 9163 9174 +11
====================================
+ Hits 8687 8698 +11
Misses 476 476
🚀 New features to boost your workflow:
|
tests/Integration/Commands/Get-SqlDscDatabasePermission.Integration.Tests.ps1
Outdated
Show resolved
Hide resolved
tests/Integration/Commands/Get-SqlDscDatabasePermission.Integration.Tests.ps1
Outdated
Show resolved
Hide resolved
tests/Integration/Commands/Get-SqlDscDatabasePermission.Integration.Tests.ps1
Outdated
Show resolved
Hide resolved
tests/Integration/Commands/Get-SqlDscDatabasePermission.Integration.Tests.ps1
Outdated
Show resolved
Hide resolved
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Comment |
…integration tests
…sion integration tests
… for Get-SqlDscDatabasePermission
johlju
left a comment
There was a problem hiding this comment.
@johlju reviewed 3 of 4 files at r4, 2 of 2 files at r5, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @copilot)
…IsDatabasePrincipal for improved principal visibility
johlju
left a comment
There was a problem hiding this comment.
@johlju reviewed 9 of 9 files at r6, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @copilot)
Creating integration test for Get-SqlDscDatabasePermission command
The integration test for
Get-SqlDscDatabasePermissionhas been successfully created and refined based on reviewer feedback. Recent changes:The test comprehensively validates database permission retrieval functionality including error handling, property validation, and pipeline support while following all established integration test patterns.
Fixes #2221.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.
This change is