Refactoring - Version stable
This commit is contained in:
@@ -14,21 +14,15 @@ import 'package:unionflow_mobile_apps/core/error/failures.dart';
|
||||
import 'get_dashboard_data_test.mocks.dart';
|
||||
|
||||
void main() {
|
||||
late GetDashboardData useCase;
|
||||
late MockDashboardRepository mockRepository;
|
||||
|
||||
setUp(() {
|
||||
mockRepository = MockDashboardRepository();
|
||||
useCase = GetDashboardData(mockRepository);
|
||||
});
|
||||
|
||||
group('GetDashboardData Use Case', () {
|
||||
const tOrgId = 'org-123';
|
||||
const tUserId = 'user-456';
|
||||
final tParams = GetDashboardDataParams(
|
||||
organizationId: tOrgId,
|
||||
userId: tUserId,
|
||||
);
|
||||
|
||||
final tDashboardStats = DashboardStatsEntity(
|
||||
totalMembers: 250,
|
||||
|
||||
Reference in New Issue
Block a user