summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Yasin Kilicdere <tyk@google.com> 2023-07-04 15:33:09 +0100
committer Yasin Kilicdere <tyk@google.com> 2023-07-04 17:47:10 +0100
commit815d11a99e62498224fe6a52f5b968409c0c108a (patch)
treebed3d2d4e926e6036aefbac0eb700467f807e592 /api/api_test.go
parentf0568174d94330ff753f94e20a06b653a91bc53c (diff)
Move isUserSwitcherEnabled tests to mocked UserManagerServiceTest.
In servicestests.UserManagerServiceTest, isUserSwitcherEnabled tests are trying to set some system properties, but it is failing with "SELinux permission check failed" error. This CL moves these test methods to mockingservicestests.UserManagerServiceTest and mock some of those dependencies, and properly test UMS.isUserSwitcherEnabled method without failures. Bug: 264667464 Bug: 264667776 Bug: 264666926 Test: atest UserManagerServiceTest Change-Id: I7a5c2becfbab023bdbb2d5f5b3a1415a28225be2
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions