Commit 33335ad1 authored by treib's avatar treib Committed by Commit bot

Disable the new avatar menu in a test.

This will make the test not fail once the new avatar menu is enabled by default.

BUG=400667

Review URL: https://codereview.chromium.org/489823003

Cr-Commit-Position: refs/heads/master@{#292126}
parent a7d88010
...@@ -639,6 +639,8 @@ TEST_F(ProfileInfoCacheTest, MigrateLegacyProfileNamesWithNewAvatarMenu) { ...@@ -639,6 +639,8 @@ TEST_F(ProfileInfoCacheTest, MigrateLegacyProfileNamesWithNewAvatarMenu) {
TEST_F(ProfileInfoCacheTest, TEST_F(ProfileInfoCacheTest,
DontMigrateLegacyProfileNamesWithoutNewAvatarMenu) { DontMigrateLegacyProfileNamesWithoutNewAvatarMenu) {
switches::DisableNewAvatarMenuForTesting(CommandLine::ForCurrentProcess());
EXPECT_EQ(0U, GetCache()->GetNumberOfProfiles()); EXPECT_EQ(0U, GetCache()->GetNumberOfProfiles());
base::string16 name_1 = ASCIIToUTF16("Default Profile"); base::string16 name_1 = ASCIIToUTF16("Default Profile");
......
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