Skip to content

Commit

Permalink
closing hive boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dante291 committed Nov 11, 2023
1 parent a090e06 commit 8e755b7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ Future<void> main() async {
await Hive.openBox<User>('currentUser');
await Hive.openBox<OrgInfo>('currentOrg');
await Hive.openBox('url');
tearDown(() async {
await Hive.close();
});

group('Setting Page Screen Widget Test in dark mode', () {
testWidgets("Testing if Settings Screen shows up", (tester) async {
Expand Down

0 comments on commit 8e755b7

Please sign in to comment.