From 186e0e547ccf5935e0fcca4ad8f23244432ae950 Mon Sep 17 00:00:00 2001 From: Ben Guo Date: Mon, 19 Sep 2016 15:12:41 -0400 Subject: [PATCH] remove overlapping STPPaymentContext test --- Tests/Tests/STPPaymentContextTest.m | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Tests/Tests/STPPaymentContextTest.m b/Tests/Tests/STPPaymentContextTest.m index 84352005ae..3acdcb135e 100644 --- a/Tests/Tests/STPPaymentContextTest.m +++ b/Tests/Tests/STPPaymentContextTest.m @@ -96,18 +96,11 @@ XCTAssertTrue([itemTotalAmount isEqualToNumber:correctTotalAmount]); } -- (void)testSummaryItems_generateAmountDecimalCurrency { +- (void)testSummaryItems_generateAmount { STPPaymentContext *context = [[STPPaymentContext alloc] initWithAPIAdapter:[TestSTPBackendAPIAdapter new]]; context.paymentSummaryItems = [self testSummaryItems]; context.paymentCurrency = @"USD"; XCTAssertTrue(context.paymentAmount == 10000); } -- (void)testSummaryItems_generateAmountNoDecimalCurrency { - STPPaymentContext *context = [[STPPaymentContext alloc] initWithAPIAdapter:[TestSTPBackendAPIAdapter new]]; - context.paymentSummaryItems = [self testSummaryItems]; - context.paymentCurrency = @"JPY"; - XCTAssertTrue(context.paymentAmount == 100); -} - @end