tdd 진행

This commit is contained in:
2025-08-09 03:09:17 +09:00
parent ed8c7eacba
commit 6033d59590
74 changed files with 17804 additions and 395 deletions
+7 -1
View File
@@ -12,7 +12,13 @@ class ClubService with ChangeNotifier {
Club? _currentClub;
bool _isLoading = false;
String? _token;
final ApiService _apiService = ApiService();
ApiService _apiService;
// 기본 생성자
ClubService() : _apiService = ApiService();
// 테스트용 생성자
ClubService.forTest(this._apiService);
List<Club> get clubs => [..._clubs];
Club? get currentClub => _currentClub;