Adding test coverage for PSDrive provider#2267
Adding test coverage for PSDrive provider#2267daxian-dbw merged 1 commit intoPowerShell:masterfrom ChrisUbben:PortTestMultiMachineProvidersPSDrive
Conversation
|
Hi @ChrisUbben, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
TTYL, MSBOT; |
|
Please fix the test failures in Travis CI. |
The test is about PSDrive, which doesn't belong to Microsoft.PowerShell.Management module. Please move the file to an appropriate folder. |
|
I talked to @JamesWTruher and he said to put these provider tests in Modules/Microsoft.PowerShell.Management/. |
There was a problem hiding this comment.
Remove-PSDrive should be put in a finally block, so even if the above Should Be failed, the test drive can still be cleaned up. #closed
There was a problem hiding this comment.
maybe it should be $driveProp.PSDrive.Name | Should Be $psDriveName #closed
Could you both take a look at this for me? @Francisco-Gamino @JamesWTruher
Thanks!