Commit 9b80e27d authored by Joshua Pawlicki's avatar Joshua Pawlicki Committed by Commit Bot

Remove some updaterstate from test

It is only sent if valid, and isn't valid on machines with no Omaha
(e.g. official builders).

Bug: 914443
Change-Id: I9d8746557290bc80ede5b3eba8330cce1405e4fd
Reviewed-on: https://chromium-review.googlesource.com/c/1374450Reviewed-by: default avatarSorin Jianu <sorin@chromium.org>
Commit-Queue: Joshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#616007}
parent 9322b46a
...@@ -341,10 +341,7 @@ TEST_P(UpdateCheckerTest, UpdateCheckSuccess) { ...@@ -341,10 +341,7 @@ TEST_P(UpdateCheckerTest, UpdateCheckSuccess) {
EXPECT_EQ("Omaha", updater->FindKey("name")->GetString()); EXPECT_EQ("Omaha", updater->FindKey("name")->GetString());
EXPECT_TRUE(updater->FindKey("autoupdatecheckenabled")->is_bool()); EXPECT_TRUE(updater->FindKey("autoupdatecheckenabled")->is_bool());
EXPECT_TRUE(updater->FindKey("ismachine")->is_bool()); EXPECT_TRUE(updater->FindKey("ismachine")->is_bool());
EXPECT_TRUE(updater->FindKey("lastchecked")->is_int());
EXPECT_TRUE(updater->FindKey("laststarted")->is_int());
EXPECT_TRUE(updater->FindKey("updatepolicy")->is_int()); EXPECT_TRUE(updater->FindKey("updatepolicy")->is_int());
EXPECT_TRUE(updater->FindKey("version")->is_string());
#endif // GOOGLE_CHROME_BUILD #endif // GOOGLE_CHROME_BUILD
#endif // OS_WINDOWS #endif // OS_WINDOWS
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment