Index: third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp |
index 577877f79d521192779a3ad53b1733a40ae91b36..35da551475c3540bd99e0d0fd453386bf6539029 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp |
@@ -45,8 +45,6 @@ TEST(PaymentResponseTest, DataCopiedOver) |
V8TestingScope scope; |
mojom::blink::PaymentResponsePtr input = buildPaymentResponseForTest(); |
input->method_name = "foo"; |
- input->total_amount->currency = "USD"; |
- input->total_amount->value = "5.00"; |
input->stringified_details = "{\"transactionId\": 123}"; |
input->shipping_option = "standardShippingOption"; |
input->payer_email = "abc@gmail.com"; |
@@ -60,11 +58,6 @@ TEST(PaymentResponseTest, DataCopiedOver) |
EXPECT_EQ("abc@gmail.com", output.payerEmail()); |
EXPECT_EQ("0123", output.payerPhone()); |
- PaymentCurrencyAmount totalAmount; |
- output.totalAmount(totalAmount); |
- EXPECT_EQ("USD", totalAmount.currency()); |
- EXPECT_EQ("5.00", totalAmount.value()); |
- |
ScriptValue details = output.details(scope.getScriptState(), scope.getExceptionState()); |
ASSERT_FALSE(scope.getExceptionState().hadException()); |