Skip to content

Commit

Permalink
Fix test helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
backspace committed Oct 30, 2024
1 parent 9f61729 commit 1337088
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions waydowntown_app/test/test_helpers.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:http_mock_adapter/http_mock_adapter.dart';

import 'package:waydowntown/models/answer.dart';
import 'package:waydowntown/models/participation.dart';
import 'package:waydowntown/models/region.dart';
import 'package:waydowntown/models/run.dart';
import 'package:waydowntown/models/specification.dart';
Expand Down Expand Up @@ -169,6 +170,7 @@ class TestHelpers {
int? durationSeconds = 300,
List<Answer>? answers,
Region? region,
List<Participation>? participations,
}) {
return Run(
id: '22261813-2171-453f-a669-db08edc70d6d',
Expand Down Expand Up @@ -202,6 +204,7 @@ class TestHelpers {
totalAnswers: totalAnswers,
startedAt: startedAt,
taskDescription: description,
participations: participations ?? [],
);
}

Expand Down

0 comments on commit 1337088

Please sign in to comment.