Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
Chris Yang committed Dec 23, 2019
commit 33576c74de3366cb680f336c6bc31e722fa1cccf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ void main() {

setUp(() {
billingClient = BillingClient((PurchasesResultWrapper _) {});
billingClient.enablePendingPurchases();
stubPlatform.reset();
});

Expand Down Expand Up @@ -72,7 +73,7 @@ void main() {
);
await billingClient.startConnection(onBillingServiceDisconnected: () {});
final MethodCall call = stubPlatform.previousCallMatching(methodName);
expect(call.arguments, equals(<dynamic, dynamic>{'handle': 0}));
expect(call.arguments, equals(<dynamic, dynamic>{'handle': 0, 'enablePendingPurchases': true}));
});
});

Expand Down