Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

refactor: remove hacks for share role tests - #10684

Merged
kulmann merged 1 commit into
masterfrom
remove-share-role-test-hacks
Apr 2, 2024
Merged

kulmann merged 1 commit into
masterfrom
remove-share-role-test-hacks

Conversation

@JammingBen

@JammingBen JammingBen commented Mar 27, 2024 •

Copy link
Copy Markdown
Contributor

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
@update-docs

update-docs Bot commented Mar 27, 2024

Copy link
Copy Markdown

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
30 of 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
@sonarqubecloud

Copy link
Copy Markdown

@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

@kulmann kulmann left a comment

Copy link
Copy Markdown
Contributor

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
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants