feat: Add logger service and improve expense dialog with enhanced receipt management and calculation logic.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// ignore_for_file: avoid_print
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
void main() {
|
||||
@@ -13,7 +14,7 @@ void main() {
|
||||
print('✓ Téléchargement d\'une nouvelle image depuis Google Places');
|
||||
existingImage = 'https://storage.googleapis.com/image1.jpg';
|
||||
print('✓ Image sauvée: $existingImage');
|
||||
|
||||
|
||||
expect(existingImage, isNotNull);
|
||||
|
||||
// Scénario 2: Rechargement (image existante)
|
||||
@@ -34,7 +35,7 @@ void main() {
|
||||
print('✓ Nouvelle destination, aucune image existante');
|
||||
print('✓ Téléchargement autorisé pour cette nouvelle destination');
|
||||
differentLocationImage = 'https://storage.googleapis.com/image2.jpg';
|
||||
|
||||
|
||||
expect(differentLocationImage, isNotNull);
|
||||
expect(differentLocationImage, isNot(equals(existingImage)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user