fix(payments, tests): flutter analyser warns

This commit is contained in:
Anatoliy
2026-07-14 16:05:18 +03:00
parent b064c7016e
commit 95a09ecdbf
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ void main() {
testWidgets('Да → форма → Пропустить → вызывает SbpBanks', (tester) async {
gateResult = true;
formResult = PromoCodeResult();
formResult = const PromoCodeResult();
await tester.pumpWidget(createTestApp());
await showConsultationPaymentFlow(

View File

@@ -60,7 +60,7 @@ void main() {
await tester.pumpWidget(
createTestWidget(
onValidate: (code) async {
captured ??= PromoValidation.failure('Промокод не найден или истёк');
captured ??= const PromoValidation.failure('Промокод не найден или истёк');
return captured!;
},
),