summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_profile_unittest.cc
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-05 01:30:28 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-05 01:30:28 +0000
commit91b073dd6145b74b191ee8dff524762d51a8c4e1 (patch)
treeb63a0234beb44bb6dcf4a1c2fdbe39739746d05e /chrome/browser/autofill/autofill_profile_unittest.cc
parente039ea2ab2116e179e6183d6ed8059875093fced (diff)
downloadchromium_src-91b073dd6145b74b191ee8dff524762d51a8c4e1.zip
chromium_src-91b073dd6145b74b191ee8dff524762d51a8c4e1.tar.gz
chromium_src-91b073dd6145b74b191ee8dff524762d51a8c4e1.tar.bz2
[Autofill] Update unit tests to use country codes when setting raw address info.
BUG=100845 Review URL: https://chromiumcodereview.appspot.com/11635039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_profile_unittest.cc')
-rw-r--r--chrome/browser/autofill/autofill_profile_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_profile_unittest.cc b/chrome/browser/autofill/autofill_profile_unittest.cc
index 54b2438..ba9ce7e 100644
--- a/chrome/browser/autofill/autofill_profile_unittest.cc
+++ b/chrome/browser/autofill/autofill_profile_unittest.cc
@@ -758,7 +758,7 @@ TEST(AutofillProfileTest, AddressCountryAbbrev) {
field.option_contents = options;
AutofillProfile profile;
- profile.SetRawInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("Canada"));
+ profile.SetInfo(ADDRESS_HOME_COUNTRY, ASCIIToUTF16("Canada"), "en-US");
profile.FillSelectControl(ADDRESS_HOME_COUNTRY, &field);
EXPECT_EQ(ASCIIToUTF16("CA"), field.value);
}