diff --git a/packages/in_app_purchase/in_app_purchase_android/example/integration_test/in_app_purchase_test.dart b/packages/in_app_purchase/in_app_purchase_android/example/integration_test/in_app_purchase_test.dart index 8ed5de2ce4b6..c528c7f87a9e 100644 --- a/packages/in_app_purchase/in_app_purchase_android/example/integration_test/in_app_purchase_test.dart +++ b/packages/in_app_purchase/in_app_purchase_android/example/integration_test/in_app_purchase_test.dart @@ -106,6 +106,8 @@ void main() { testWidgets('BillingClient.queryPurchaseHistory', (WidgetTester tester) async { try { + // Intentional use of a deprecated method to make sure it still works. + // ignore: deprecated_member_use await billingClient.queryPurchaseHistory(ProductType.inapp); } on MissingPluginException { fail('Method channel is not setup correctly');