Skip to content

Commit 41555c4

Browse files
committed
Recreate generated files
1 parent 51a0e87 commit 41555c4

12 files changed

+16
-12
lines changed

test/gallery/gallery_form_test.mocks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class MockGalleryProvider extends _i1.Mock implements _i4.GalleryProvider {
195195
) as _i6.Future<void>);
196196

197197
@override
198-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
198+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
199199
Invocation.method(
200200
#getDefaultHeaders,
201201
[],

test/gallery/gallery_screen_test.mocks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class MockGalleryProvider extends _i1.Mock implements _i4.GalleryProvider {
195195
) as _i6.Future<void>);
196196

197197
@override
198-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
198+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
199199
Invocation.method(
200200
#getDefaultHeaders,
201201
[],

test/measurements/measurement_provider_test.mocks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
108108
);
109109

110110
@override
111-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
111+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
112112
Invocation.method(
113113
#getDefaultHeaders,
114114
[],

test/nutrition/nutritional_plan_screen_test.mocks.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
123123
);
124124

125125
@override
126-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
126+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
127127
Invocation.method(
128128
#getDefaultHeaders,
129129
[],
@@ -395,6 +395,7 @@ class MockAuthProvider extends _i1.Mock implements _i2.AuthProvider {
395395
required String? password,
396396
required String? email,
397397
required String? serverUrl,
398+
String? locale = r'en',
398399
}) =>
399400
(super.noSuchMethod(
400401
Invocation.method(
@@ -405,6 +406,7 @@ class MockAuthProvider extends _i1.Mock implements _i2.AuthProvider {
405406
#password: password,
406407
#email: email,
407408
#serverUrl: serverUrl,
409+
#locale: locale,
408410
},
409411
),
410412
returnValue: _i5.Future<Map<String, _i2.LoginActions>>.value(<String, _i2.LoginActions>{}),

test/nutrition/nutritional_plans_screen_test.mocks.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ class MockAuthProvider extends _i1.Mock implements _i3.AuthProvider {
234234
required String? password,
235235
required String? email,
236236
required String? serverUrl,
237+
String? locale = r'en',
237238
}) =>
238239
(super.noSuchMethod(
239240
Invocation.method(
@@ -244,6 +245,7 @@ class MockAuthProvider extends _i1.Mock implements _i3.AuthProvider {
244245
#password: password,
245246
#email: email,
246247
#serverUrl: serverUrl,
248+
#locale: locale,
247249
},
248250
),
249251
returnValue: _i5.Future<Map<String, _i3.LoginActions>>.value(<String, _i3.LoginActions>{}),
@@ -399,7 +401,7 @@ class MockWgerBaseProvider extends _i1.Mock implements _i8.WgerBaseProvider {
399401
);
400402

401403
@override
402-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
404+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
403405
Invocation.method(
404406
#getDefaultHeaders,
405407
[],

test/user/provider_test.mocks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
108108
);
109109

110110
@override
111-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
111+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
112112
Invocation.method(
113113
#getDefaultHeaders,
114114
[],

test/weight/weight_provider_test.mocks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
108108
);
109109

110110
@override
111-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
111+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
112112
Invocation.method(
113113
#getDefaultHeaders,
114114
[],

test/workout/gym_mode_screen_test.mocks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
186186
);
187187

188188
@override
189-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
189+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
190190
Invocation.method(
191191
#getDefaultHeaders,
192192
[],

test/workout/workout_plan_screen_test.mocks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
108108
);
109109

110110
@override
111-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
111+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
112112
Invocation.method(
113113
#getDefaultHeaders,
114114
[],

test/workout/workout_plans_screen_test.mocks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class MockWgerBaseProvider extends _i1.Mock implements _i4.WgerBaseProvider {
108108
);
109109

110110
@override
111-
Map<String, String> getDefaultHeaders({dynamic includeAuth = false}) => (super.noSuchMethod(
111+
Map<String, String> getDefaultHeaders({bool? includeAuth = false}) => (super.noSuchMethod(
112112
Invocation.method(
113113
#getDefaultHeaders,
114114
[],

0 commit comments

Comments
 (0)