Skip to content

[PM-35442] Key connector not updating key via PUT#267

Open
mzieniukbw wants to merge 3 commits into
mainfrom
km/pm-35442-key-connector-not-updating-key
Open

[PM-35442] Key connector not updating key via PUT#267
mzieniukbw wants to merge 3 commits into
mainfrom
km/pm-35442-key-connector-not-updating-key

Conversation

@mzieniukbw
Copy link
Copy Markdown
Contributor

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-35442

📔 Objective

PUT /key-connector/user-keys rejects the request if the user already have the key in database - this PR fixes this bug.
Also adds unit tests and integration test coverage.

📸 Screenshots

@mzieniukbw mzieniukbw requested a review from a team as a code owner May 25, 2026 19:25
@mzieniukbw mzieniukbw requested a review from quexten May 25, 2026 19:25
@codecov
Copy link
Copy Markdown

codecov Bot commented May 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.73%. Comparing base (ced3f8a) to head (f066fef).

Additional details and impacted files
@@            Coverage Diff             @@
##            main     #267       +/-   ##
==========================================
+ Coverage   7.04%   37.73%   +30.69%     
==========================================
  Files         49       49               
  Lines       1818     1823        +5     
  Branches      99       99               
==========================================
+ Hits         128      688      +560     
+ Misses      1685     1100      -585     
- Partials       5       35       +30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/KeyConnector/Controllers/UserKeysController.cs
@mzieniukbw mzieniukbw requested a review from quexten May 26, 2026 07:37
@sonarqubecloud
Copy link
Copy Markdown

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.

2 participants