Index: chrome/browser/signin/local_auth_unittest.cc |
diff --git a/chrome/browser/signin/local_auth_unittest.cc b/chrome/browser/signin/local_auth_unittest.cc |
index e1fd26c642d8cccefecdfe9f68c85d81ae301b4d..2da9b74cc3411b438ab772ae44e24da8afc059f7 100644 |
--- a/chrome/browser/signin/local_auth_unittest.cc |
+++ b/chrome/browser/signin/local_auth_unittest.cc |
@@ -35,7 +35,9 @@ TEST(LocalAuthTest, SetAndCheckCredentials) { |
std::string password("Some Password"); |
EXPECT_FALSE(ValidateLocalAuthCredentials(prof, password)); |
+ EXPECT_FALSE(LocalAuthCredentialsExist(prof)); |
SetLocalAuthCredentials(prof, password); |
+ EXPECT_TRUE(LocalAuthCredentialsExist(prof)); |
std::string passhash = cache.GetLocalAuthCredentialsOfProfileAtIndex(0); |
// We perform basic validation on the written record to ensure bugs don't slip |