Skip to content

Commit

Permalink
unused variables removed for passing flutter analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
rohansen856 committed Nov 28, 2024
1 parent 2b2f114 commit 31db9a7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/api_service_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ class MockMethodChannel extends Mock implements MethodChannel {}
void main() {
TestWidgetsFlutterBinding.ensureInitialized();

// unused variable. used to mock the initiation of HTTPClient
late MockHttpClient mockHttpClient;
databaseFactory = databaseFactoryFfi;

setUpAll(() {
sqfliteFfiInit();
});

setUp(() {
mockHttpClient = MockHttpClient();
});
setUp(() {});

group('Tasks model', () {
test('fromJson creates Tasks object', () {
Expand Down

0 comments on commit 31db9a7

Please sign in to comment.