Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianVarela committed Nov 23, 2024
1 parent 5d1183d commit 163df31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/service/category_service_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ void main() {
when(() => mockQuerySnapshot.docs)
.thenReturn([mockQueryDocumentSnapshot]);

when(() => mockQueryDocumentSnapshot.toMap)
.thenReturn(category.toJson());
when(() => mockQueryDocumentSnapshot.toMap).thenReturn(category.toJson());

// act
final result = categoryService.getCategories();
Expand Down

0 comments on commit 163df31

Please sign in to comment.