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

Commit c8587890 authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz
Browse files

Fix NotificationSettingsControllerTest

Test is dependent on ActivityManager.getCurrentUser. However, there is a mock object that returns userId which is not inline with getCurrentUser.
ActivitiyManager.getCurrentUser has been started to return a value different from 0, which is a default value for int and so mock userId. This CL fixes this issue by improving the mock

Fix: 411119789
Test: NotificationSettingsControllerTest
Flag: EXEMPT trivial test set up change
Change-Id: I291da83fdc14e20fae65f257b44e06eb000b8d43
parent 7e8e08a4
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