forked from eatvio/eatvio_app
fix(payments, tests): flutter analyser warns
This commit is contained in:
@@ -76,7 +76,7 @@ void main() {
|
||||
|
||||
testWidgets('Да → форма → Пропустить → вызывает SbpBanks', (tester) async {
|
||||
gateResult = true;
|
||||
formResult = PromoCodeResult();
|
||||
formResult = const PromoCodeResult();
|
||||
await tester.pumpWidget(createTestApp());
|
||||
|
||||
await showConsultationPaymentFlow(
|
||||
|
||||
@@ -60,7 +60,7 @@ void main() {
|
||||
await tester.pumpWidget(
|
||||
createTestWidget(
|
||||
onValidate: (code) async {
|
||||
captured ??= PromoValidation.failure('Промокод не найден или истёк');
|
||||
captured ??= const PromoValidation.failure('Промокод не найден или истёк');
|
||||
return captured!;
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user