New-CredentialStoreItem-Warn-If-CredentialStore-Doesnt-Exist #72

Closed
pinguinfuss wants to merge 6 commits from pinguinfuss:New-CredentialStoreItem-Warn-If-CredentialStore-Doesnt-Exist into master
Contributor

📖 Summary

Fix errror message of New-CredentialStoreItem when no CredentialStore exists.

📑 Test Plan

Test-CredentialStore
False
New-CredentialStoreItem -RemoteHost hans.wurst.one
New-CredentialStoreItem : The given credential store (C:\Users\pinguinfuss\AppData\Roaming\CredentialStore.json) does not exist!
In Zeile:1 Zeichen:1

  • New-CredentialStoreItem -RemoteHost hans.wurst.one
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], FileNotFoundException
      + FullyQualifiedErrorId : System.IO.FileNotFoundException,New-CredentialStoreItem
    
    
  • Tested via Drone.io pipeline
  • Custom test
  • No test plan
#### :book: Summary Fix errror message of New-CredentialStoreItem when no CredentialStore exists. #### :bookmark_tabs: Test Plan Test-CredentialStore False New-CredentialStoreItem -RemoteHost hans.wurst.one New-CredentialStoreItem : The given credential store (C:\Users\pinguinfuss\AppData\Roaming\CredentialStore.json) does not exist! In Zeile:1 Zeichen:1 + New-CredentialStoreItem -RemoteHost hans.wurst.one + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], FileNotFoundException + FullyQualifiedErrorId : System.IO.FileNotFoundException,New-CredentialStoreItem - [x] Tested via Drone.io pipeline - [ ] Custom test - [ ] No test plan
pinguinfuss added 3 commits 2022-09-20 08:41:49 +02:00
pinguinfuss added 1 commit 2022-09-20 08:44:54 +02:00
Convert back to CRLF
Some checks failed
continuous-integration/drone/pr Build is failing
40c77e3434
pinguinfuss added 1 commit 2022-09-20 08:48:20 +02:00
Fix test pipeline errors
Some checks failed
continuous-integration/drone/pr Build is failing
948b42548e
OCram85 added 1 commit 2022-09-20 11:59:15 +02:00
Collaborator

Drone.io PR Build No. #106: failed

/drone/src/build/FileLinter-Results.log

Result File Failed
/drone/src/src/Item/New-CredentialStoreItem.ps1 EOL, EOF

/drone/src/build/Pester-Results.log

Result Test Duration
⚠️ Test-CredentialStore.Basic logic tests.Read a broken CredentialStore 0ms

🧪 49 Total Tests (✔️ 48 Passed ▫️🔱 1 Skipped / NotRun ▫️ ⚠️ Unknown ▫️ 0 Failed)
📑 Covered 38.77% / 75%. (🔖 779 analyzed Commands 📄 in 25 Files)

/drone/src/build/ScriptAnalyzer-Results.log

✔️ No violations found.

end.

> Drone.io PR Build No. [#106](https://drone.ocram85.com/OCram85/PSCredentialStore/106): ``failed`` #### ``/drone/src/build/FileLinter-Results.log`` | Result | File | Failed | | :----: | :--- | -----: | | :heavy_exclamation_mark: | `/drone/src/src/Item/New-CredentialStoreItem.ps1` | `EOL, EOF` | #### ``/drone/src/build/Pester-Results.log`` | Result | Test | Duration | | :----: | :--- | -------: | | :warning: | `Test-CredentialStore.Basic logic tests.Read a broken CredentialStore` | *0ms* | :test_tube: **49** Total Tests (:heavy_check_mark: ``48 Passed`` :white_small_square::trident: ``1 Skipped / NotRun`` :white_small_square: :warning: ``Unknown`` :white_small_square: :heavy_exclamation_mark: ``0 Failed``) :bookmark_tabs: Covered **38.77%** / 75%. (:bookmark: ``779 analyzed Commands`` :page_facing_up: ``in 25 Files``) #### ``/drone/src/build/ScriptAnalyzer-Results.log`` :heavy_check_mark: No violations found. end.
Owner

implemented with #73

implemented with #73
OCram85 closed this pull request 2022-09-21 07:09:45 +02:00
OCram85 deleted branch New-CredentialStoreItem-Warn-If-CredentialStore-Doesnt-Exist 2022-09-21 07:09:53 +02:00
Some checks failed
continuous-integration/drone/pr Build is failing

Pull request closed

Sign in to join this conversation.
No description provided.