test: couverture tests modules (communication, contributions, dashboard, events, members, organizations, profile, reports, settings, finance_workflow, core/network)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Mocks generated by Mockito 5.4.4 from annotations
|
||||
// Mocks generated by Mockito 5.4.6 from annotations
|
||||
// in unionflow_mobile_apps/test/features/members/bloc/membres_bloc_test.dart.
|
||||
// Do not manually edit this file.
|
||||
|
||||
@@ -37,10 +37,12 @@ import 'package:unionflow_mobile_apps/shared/models/membre_search_result.dart'
|
||||
// ignore_for_file: deprecated_member_use_from_same_package
|
||||
// ignore_for_file: implementation_imports
|
||||
// ignore_for_file: invalid_use_of_visible_for_testing_member
|
||||
// ignore_for_file: must_be_immutable
|
||||
// ignore_for_file: prefer_const_constructors
|
||||
// ignore_for_file: unnecessary_parenthesis
|
||||
// ignore_for_file: camel_case_types
|
||||
// ignore_for_file: subtype_of_sealed_class
|
||||
// ignore_for_file: invalid_use_of_internal_member
|
||||
|
||||
class _FakeMembreSearchResult_0 extends _i1.SmartFake
|
||||
implements _i2.MembreSearchResult {
|
||||
@@ -494,4 +496,123 @@ class MockIMembreRepository extends _i1.Mock implements _i13.IMembreRepository {
|
||||
returnValue:
|
||||
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||
) as _i5.Future<Map<String, dynamic>>);
|
||||
|
||||
@override
|
||||
_i5.Future<_i3.MembreCompletModel> resetMotDePasse(String? id) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#resetMotDePasse,
|
||||
[id],
|
||||
),
|
||||
returnValue:
|
||||
_i5.Future<_i3.MembreCompletModel>.value(_FakeMembreCompletModel_1(
|
||||
this,
|
||||
Invocation.method(
|
||||
#resetMotDePasse,
|
||||
[id],
|
||||
),
|
||||
)),
|
||||
) as _i5.Future<_i3.MembreCompletModel>);
|
||||
|
||||
@override
|
||||
_i5.Future<_i3.MembreCompletModel> affecterOrganisation(
|
||||
String? membreId,
|
||||
String? organisationId,
|
||||
) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#affecterOrganisation,
|
||||
[
|
||||
membreId,
|
||||
organisationId,
|
||||
],
|
||||
),
|
||||
returnValue:
|
||||
_i5.Future<_i3.MembreCompletModel>.value(_FakeMembreCompletModel_1(
|
||||
this,
|
||||
Invocation.method(
|
||||
#affecterOrganisation,
|
||||
[
|
||||
membreId,
|
||||
organisationId,
|
||||
],
|
||||
),
|
||||
)),
|
||||
) as _i5.Future<_i3.MembreCompletModel>);
|
||||
|
||||
@override
|
||||
_i5.Future<Map<String, dynamic>> inviterMembre(
|
||||
String? membreId,
|
||||
String? organisationId, {
|
||||
String? roleOrg,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#inviterMembre,
|
||||
[
|
||||
membreId,
|
||||
organisationId,
|
||||
],
|
||||
{#roleOrg: roleOrg},
|
||||
),
|
||||
returnValue:
|
||||
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||
) as _i5.Future<Map<String, dynamic>>);
|
||||
|
||||
@override
|
||||
_i5.Future<Map<String, dynamic>> activerAdhesion(
|
||||
String? membreId,
|
||||
String? organisationId, {
|
||||
String? motif,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#activerAdhesion,
|
||||
[
|
||||
membreId,
|
||||
organisationId,
|
||||
],
|
||||
{#motif: motif},
|
||||
),
|
||||
returnValue:
|
||||
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||
) as _i5.Future<Map<String, dynamic>>);
|
||||
|
||||
@override
|
||||
_i5.Future<Map<String, dynamic>> suspendrAdhesion(
|
||||
String? membreId,
|
||||
String? organisationId, {
|
||||
String? motif,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#suspendrAdhesion,
|
||||
[
|
||||
membreId,
|
||||
organisationId,
|
||||
],
|
||||
{#motif: motif},
|
||||
),
|
||||
returnValue:
|
||||
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||
) as _i5.Future<Map<String, dynamic>>);
|
||||
|
||||
@override
|
||||
_i5.Future<Map<String, dynamic>> radierAdhesion(
|
||||
String? membreId,
|
||||
String? organisationId, {
|
||||
String? motif,
|
||||
}) =>
|
||||
(super.noSuchMethod(
|
||||
Invocation.method(
|
||||
#radierAdhesion,
|
||||
[
|
||||
membreId,
|
||||
organisationId,
|
||||
],
|
||||
{#motif: motif},
|
||||
),
|
||||
returnValue:
|
||||
_i5.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||
) as _i5.Future<Map<String, dynamic>>);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user