Skip to content

Commit 9b2d580

Browse files
PIG208gnprice
authored andcommitted
db test: Add missing after.close call
As we add more tests for future migrations, Drift will start complaining about opened databases that are not closed. Always remember doing this will ensure that we don't leak states to other database tests. Signed-off-by: Zixuan James Li <[email protected]>
1 parent 5ad630e commit 9b2d580

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/model/database_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ void main() {
130130
...accountV1.toJson(),
131131
'ackedPushToken': null,
132132
});
133+
await after.close();
133134
});
134135
});
135136
}

0 commit comments

Comments
 (0)