Skip to content

Commit 48a7c8f

Browse files
committed
test(rlsapi): standardize MOCK_AUTH constant in rlsapi tests
Use project-standard mock auth tuple pattern with non-admin flag. Signed-off-by: Major Hayden <major@redhat.com>
1 parent 685ee3a commit 48a7c8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/app/endpoints/test_rlsapi_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from tests.unit.utils.auth_helpers import mock_authorization_resolvers
3232
from utils.suid import check_suid
3333

34-
MOCK_AUTH: AuthTuple = ("test_user_id", "test_user", True, "test_token")
34+
MOCK_AUTH: AuthTuple = ("mock_user_id", "mock_username", False, "mock_token")
3535

3636

3737
def _setup_responses_mock(mocker: MockerFixture, create_behavior: Any) -> None:

0 commit comments

Comments
 (0)