user manager test: remove no-access
The change [1] was submitted without rebasing to the master, which
causes test failures at HEAD.
[1] https://gerrit.openbmc.org/c/openbmc/phosphor-user-manager/+/52363
This commit fixed the issue.
Tested: unit test passed
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I5b71e3a3dfe70448c1741f21a06ad3486b84863e
diff --git a/test/user_mgr_test.cpp b/test/user_mgr_test.cpp
index 474e055..ae8f35d 100644
--- a/test/user_mgr_test.cpp
+++ b/test/user_mgr_test.cpp
@@ -454,7 +454,6 @@
EXPECT_NO_THROW(throwForInvalidPrivilege("priv-admin"));
EXPECT_NO_THROW(throwForInvalidPrivilege("priv-operator"));
EXPECT_NO_THROW(throwForInvalidPrivilege("priv-user"));
- EXPECT_NO_THROW(throwForInvalidPrivilege("priv-noaccess"));
}
TEST_F(UserMgrInTest, ThrowForInvalidGroupsThrowsWhenGroupIsInvalid)