Skip to content

Commit

Permalink
Properly close databases after testing backup
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasley committed Aug 25, 2024
1 parent e7bc9b2 commit 0a6aef9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/BlackbirdTests/BlackbirdTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,9 @@ final class BlackbirdTestTests: XCTestCase, @unchecked Sendable {
let modelsInBackupDb = try await TestModel.read(from: backupDb)

XCTAssert(modelsInDb == modelsInBackupDb)

await db.close()
await backupDb.close()
}


Expand Down

0 comments on commit 0a6aef9

Please sign in to comment.