Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d191fef9 authored by Matías Hernández's avatar Matías Hernández
Browse files

Fix user mismatch in getUserRestrictionSources verification

The test is setting up the mocks and the fake user context in a way that can end up calling UserManager with the wrong user id (on HSUM, or otherwise with secondary users). As a quick fix, ignore the user in the verify() call, since the crucial part is checking that the DISALLOW_ADJUST_VOLUME restriction was the one queried.

Bug: 418336586
Test: ModesTileTest
Flag: TEST_ONLY
Change-Id: I29d7b38bd7b5841b7f3f1f7a13a94c6086c9c216
parent 66132631
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment