feat(sbp_payments): added new chosen_plan fixtures with chosen_plan states and fixed chat tests

This commit is contained in:
misha
2026-07-08 14:28:08 +03:00
parent d21cc46558
commit e10610d93c
18 changed files with 707 additions and 2 deletions

View File

@@ -386,7 +386,7 @@ void main() {
test('getChosenPlan - получает выбранный план', () async {
const planId = 1;
final chosenPlanFixture = FixtureReader.readAsMap(
'chat/chosen_plan_response.json',
'chat/chosen_plan/chosen_plan_in_progress_response.json',
);
final expectedPlan = ChosenPlanModel.fromJson(chosenPlanFixture);

View File

@@ -238,7 +238,7 @@ void main() {
test('getChosenPlan - возвращает выбранный план', () async {
const planId = 1;
final chosenPlanFixture = FixtureReader.readAsMap(
'chat/chosen_plan_response.json',
'chat/chosen_plan/chosen_plan_in_progress_response.json',
);
final expectedPlan = ChosenPlanModel.fromJson(chosenPlanFixture);