Skip to content

Commit 31db9a7

Browse files
committed
unused variables removed for passing flutter analyze
1 parent 2b2f114 commit 31db9a7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/api_service_test.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@ class MockMethodChannel extends Mock implements MethodChannel {}
1717
void main() {
1818
TestWidgetsFlutterBinding.ensureInitialized();
1919

20-
// unused variable. used to mock the initiation of HTTPClient
21-
late MockHttpClient mockHttpClient;
2220
databaseFactory = databaseFactoryFfi;
2321

2422
setUpAll(() {
2523
sqfliteFfiInit();
2624
});
2725

28-
setUp(() {
29-
mockHttpClient = MockHttpClient();
30-
});
26+
setUp(() {});
3127

3228
group('Tasks model', () {
3329
test('fromJson creates Tasks object', () {

0 commit comments

Comments
 (0)