fix(test): corregge i fallimenti emersi alla prima esecuzione

- update_service_test: il fake HttpClientResponse tipizza lo stream
  come Stream<List<int>> (utf8.encode ritorna Uint8List)
- guide/info_bottom_sheet test: i titoli delle _DocCard sono resi
  con toUpperCase(), i finder ora cercano il testo maiuscolo
- converter_page_test e app_test: loadDb()/load() dei provider
  spostati nel setUp — chiamarli nel body di testWidgets (zona
  FakeAsync) bloccava la suite fino al timeout di 10 minuti

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-12 20:38:57 +02:00
parent d94bd5fdf7
commit 57f522e3a2
5 changed files with 31 additions and 15 deletions
@@ -35,7 +35,7 @@ void main() {
await _openSheet(tester);
await tester.tap(find.text('Apri'));
await tester.pumpAndSettle();
expect(find.text('Aggiungere un alimento'), findsOneWidget);
expect(find.text('AGGIUNGERE UN ALIMENTO'), findsOneWidget);
});
});
}