Skip to content

[PM-33043] Fix the failing test.#7316

Merged
JimmyVo16 merged 1 commit intomainfrom
ac/pm-33043/fix-failing-unit-tests
Mar 26, 2026
Merged

[PM-33043] Fix the failing test.#7316
JimmyVo16 merged 1 commit intomainfrom
ac/pm-33043/fix-failing-unit-tests

Conversation

@JimmyVo16
Copy link
Contributor

🎟️ Tracking

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

📔 Objective

For some reason, the test GetPoliciesApplicableToUserAsync_OnlyFetchesAbilitiesForFilteredOrgs failed in main because it was missing a reference. This PR adds that reference to fix the failing test.

📸 Screenshots

I was able to reproduce the issue locally and confirmed that it's working now.

image

@JimmyVo16 JimmyVo16 requested a review from a team as a code owner March 26, 2026 18:23
@JimmyVo16 JimmyVo16 requested a review from BTreston March 26, 2026 18:23
@JimmyVo16 JimmyVo16 self-assigned this Mar 26, 2026
@sonarqubecloud
Copy link

@github-actions
Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Details9197888b-6ef2-4ca1-9224-64651ee9e531

Great job! No new security vulnerabilities introduced in this pull request

@JimmyVo16 JimmyVo16 enabled auto-merge (squash) March 26, 2026 18:38
@JimmyVo16 JimmyVo16 merged commit f26e462 into main Mar 26, 2026
42 checks passed
@JimmyVo16 JimmyVo16 deleted the ac/pm-33043/fix-failing-unit-tests branch March 26, 2026 18:40
@codecov
Copy link

codecov bot commented Mar 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.87%. Comparing base (34aba63) to head (30313d2).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7316      +/-   ##
==========================================
+ Coverage   57.86%   57.87%   +0.01%     
==========================================
  Files        2044     2044              
  Lines       90081    90114      +33     
  Branches     8014     8015       +1     
==========================================
+ Hits        52126    52156      +30     
- Misses      36091    36093       +2     
- Partials     1864     1865       +1     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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