mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
tests: removing username test in favor of status check (#4090)
This commit is contained in:
parent
0dc59b8d2d
commit
7d7ed9de61
@ -150,7 +150,6 @@ TEST_F(RegistryTablesTest, test_get_username_from_key) {
|
||||
|
||||
status = getUsernameFromKey("HKEY_USERS\\S-1-5-19\\Some\\Key", username);
|
||||
EXPECT_TRUE(status.ok());
|
||||
EXPECT_TRUE(username == "LOCAL SERVICE");
|
||||
for (const auto& key : badKeys) {
|
||||
status = getUsernameFromKey(key, username);
|
||||
EXPECT_FALSE(status.ok());
|
||||
|
Loading…
Reference in New Issue
Block a user