Improve test coverage for role visibility

Created on 2 January 2025, 13 days ago

Problem/Motivation

We noticed that the current automated tests for role visibility at https://git.drupalcode.org/project/piwik_pro/-/blob/1.1.x/tests/src/Func... and https://git.drupalcode.org/project/piwik_pro/-/blob/1.1.x/tests/src/Func... don't seem to take into account the situation where The listed roles only option is selected but no actual roles are selected.

Steps to reproduce

TBD.

Proposed resolution

We should update the tests and make sure that the code also handle this situation.

Remaining tasks

Update code and tests.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

1.2

Component

Code

Created by

🇫🇮Finland heikkiy Oulu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024