feat: fix tests
parent
2623e97718
commit
0cdab96552
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue