mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-16 03:05:47 +00:00
Setup(Tests): fix PSSA about unused variable
This commit is contained in:
parent
496528d84e
commit
6d06326fa5
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ Describe "Setup tests" -Tag 'Core', 'Setup' -Fixture {
|
||||||
}
|
}
|
||||||
|
|
||||||
It "Checks the set credentials" {
|
It "Checks the set credentials" {
|
||||||
$Creds = Set-NetboxCredential -Token (ConvertTo-SecureString -String "faketoken" -Force -AsPlainText)
|
Set-NetboxCredential -Token (ConvertTo-SecureString -String "faketoken" -Force -AsPlainText)
|
||||||
(Get-NetboxCredential).GetNetworkCredential().Password | Should -BeExactly "faketoken"
|
(Get-NetboxCredential).GetNetworkCredential().Password | Should -BeExactly "faketoken"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue