Commit 00332357 authored by Jared Saul's avatar Jared Saul Committed by Commit Bot

Minor autofill_manager_unittest.cc cleanup

Bug: 
Change-Id: I72f6e575a30a9d3a9fef4d52cb0ca988270e5f70
Reviewed-on: https://chromium-review.googlesource.com/688820Reviewed-by: default avatarSebastien Seguin-Gagnon <sebsg@chromium.org>
Commit-Queue: Sebastien Seguin-Gagnon <sebsg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#505022}
parent 23cfe346
......@@ -5411,8 +5411,6 @@ TEST_F(AutofillManagerTest,
credit_card_form.fields[3].value = ASCIIToUTF16("2017");
credit_card_form.fields[4].value = ASCIIToUTF16("123");
base::HistogramTester histogram_tester;
// Confirm upload happened and the new UI flag was sent in the request.
EXPECT_CALL(autofill_client_, ConfirmSaveCreditCardLocally(_, _)).Times(0);
FormSubmitted(credit_card_form);
......@@ -5446,9 +5444,7 @@ TEST_F(AutofillManagerTest,
credit_card_form.fields[3].value = ASCIIToUTF16("2017");
credit_card_form.fields[4].value = ASCIIToUTF16("123");
base::HistogramTester histogram_tester;
// Confirm upload happened and the new UI flag was sent in the request.
// Confirm upload happened and the new UI flag was not sent in the request.
EXPECT_CALL(autofill_client_, ConfirmSaveCreditCardLocally(_, _)).Times(0);
FormSubmitted(credit_card_form);
EXPECT_TRUE(autofill_manager_->credit_card_was_uploaded());
......@@ -5481,8 +5477,6 @@ TEST_F(AutofillManagerTest,
credit_card_form.fields[3].value = ASCIIToUTF16("2017");
credit_card_form.fields[4].value = ASCIIToUTF16("123");
base::HistogramTester histogram_tester;
// Confirm upload happened and the show Google logo flag was sent in the
// request.
EXPECT_CALL(autofill_client_, ConfirmSaveCreditCardLocally(_, _)).Times(0);
......@@ -5517,9 +5511,7 @@ TEST_F(AutofillManagerTest,
credit_card_form.fields[3].value = ASCIIToUTF16("2017");
credit_card_form.fields[4].value = ASCIIToUTF16("123");
base::HistogramTester histogram_tester;
// Confirm upload happened and the show Google logo flag was sent in the
// Confirm upload happened and the show Google logo flag was not sent in the
// request.
EXPECT_CALL(autofill_client_, ConfirmSaveCreditCardLocally(_, _)).Times(0);
FormSubmitted(credit_card_form);
......
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