feat: fix tests

main
98spag 2023-06-16 11:47:52 +02:00
parent 2623e97718
commit 0cdab96552
1 changed files with 4 additions and 1 deletions

View File

@ -2,12 +2,15 @@ import 'package:ernaehrung/android/components/meal_page_text/days_component.dart
import 'package:ernaehrung/android/config/format_helper.dart'; import 'package:ernaehrung/android/config/format_helper.dart';
import 'package:ernaehrung/android/config/statistics.dart'; import 'package:ernaehrung/android/config/statistics.dart';
import 'package:ernaehrung/android/models/food.dart'; import 'package:ernaehrung/android/models/food.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
late StatisticsService statisticsService; late StatisticsService statisticsService;
Future<void> main() async { Future<void> main() async {
await dotenv.load(fileName: ".env");
setUp(() async { setUp(() async {
statisticsService = StatisticsService.instance; statisticsService = StatisticsService.instance;
}); });