diff --git a/test/service/category_service_test.dart b/test/service/category_service_test.dart index 2ccf32b..dadc586 100644 --- a/test/service/category_service_test.dart +++ b/test/service/category_service_test.dart @@ -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();