Skip to content
Merged
Prev Previous commit
Next Next commit
more tests
  • Loading branch information
LouiseHsu committed Feb 27, 2024
commit 8a9faf5a311133cdda24a188493c641259a0d627
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ - (void)testFinishTransactionSucceedsWithNilTransaction {
@"simulatesAskToBuyInSandbox" : @(NO)
};

SKMutablePayment *payment = [FIAObjectTranslator getSKMutablePaymentFromMap:paymentMap];

NSDictionary *transactionMap = @{
@"transactionState" : @(SKPaymentTransactionStatePurchasing),
@"payment" :paymentMap,
Expand Down Expand Up @@ -573,16 +571,6 @@ - (void)testStartObservingPaymentQueue {
OCMVerify(times(1), [mockHandler startObservingPaymentQueue]);
}

- (void)testStartObservingPaymentQueue2 {
// FIAPRequestHandler *mockHandler = OCMClassMock(FIAPRequestHandler.class);
//
// OCMStub(mockHandler.storefront).andReturn(nil);
//
// [self.plugin startObservingPaymentQueueWithError:&error];
//
// OCMVerify(times(1), [mockHandler startObservingPaymentQueue]);
}

- (void)testStopObservingPaymentQueue {
FIAPaymentQueueHandler *mockHandler = OCMClassMock([FIAPaymentQueueHandler class]);
self.plugin.paymentQueueHandler = mockHandler;
Expand Down