mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
removed MockIAPProductsProvider
This commit is contained in:
parent
a19d08dcec
commit
3c4d959cc6
2 changed files with 10 additions and 5 deletions
|
@ -19,8 +19,13 @@ extension WidgetTesterCommonActions on WidgetTester {
|
|||
Film selectedFilm = const Film.other(),
|
||||
}) async {
|
||||
await pumpWidget(
|
||||
MockIAPProductsProvider(
|
||||
productStatus: productStatus,
|
||||
IAPProducts(
|
||||
products: [
|
||||
IAPProduct(
|
||||
storeId: IAPProductType.paidFeatures.storeId,
|
||||
status: productStatus,
|
||||
),
|
||||
],
|
||||
child: ApplicationWrapper(
|
||||
const Environment.dev(),
|
||||
child: MockIAPProviders(
|
||||
|
|
|
@ -7,9 +7,9 @@ import 'package:m3_lightmeter_iap/m3_lightmeter_iap.dart';
|
|||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
runApp(
|
||||
const MockIAPProductsProvider(
|
||||
productStatus: IAPProductStatus.purchasable,
|
||||
child: ApplicationWrapper(
|
||||
IAPProducts(
|
||||
products: [IAPProduct(storeId: IAPProductType.paidFeatures.storeId)],
|
||||
child: const ApplicationWrapper(
|
||||
Environment.dev(),
|
||||
child: Application(),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue