Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove hacks for share role tests #10684

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Mar 27, 2024

Description

Removes some hacks that mapped share role ids to human readable strings that were introduced by #10433. These mappings are not supposed to live in runtime code since they were only supposed to support the tests.

I adjusted the tests to check for the role label instead so we don't have to deal with id mappings.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@JammingBen JammingBen self-assigned this Mar 27, 2024
Copy link

update-docs bot commented Mar 27, 2024

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@JammingBen JammingBen mentioned this pull request Mar 27, 2024
40 tasks
@JammingBen JammingBen force-pushed the remove-share-role-test-hacks branch 10 times, most recently from 7810afb to 3c778dc Compare March 28, 2024 06:39
@JammingBen JammingBen force-pushed the remove-share-role-test-hacks branch from 3c778dc to 5f9c7c2 Compare March 28, 2024 08:32
Copy link

sonarcloud bot commented Mar 28, 2024

@JammingBen JammingBen marked this pull request as ready for review March 28, 2024 09:09
@JammingBen JammingBen requested review from dschmidt and kulmann March 28, 2024 09:09
Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup, thanks 👍

@kulmann kulmann merged commit eb57579 into master Apr 2, 2024
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the remove-share-role-test-hacks branch April 2, 2024 11:08
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