Skip to content

Commit b40de68

Browse files
committed
refactor: [#1231] tests to use database mock in KeysHandler
tests that require the `Database` trait.
1 parent e3ba1e1 commit b40de68

File tree

3 files changed

+215
-90
lines changed

3 files changed

+215
-90
lines changed

packages/tracker-core/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bittorrent-http-protocol = { version = "3.0.0-develop", path = "../http-protocol
2020
bittorrent-primitives = "0.1.0"
2121
chrono = { version = "0", default-features = false, features = ["clock"] }
2222
derive_more = { version = "1", features = ["as_ref", "constructor", "from"] }
23+
mockall = "0"
2324
r2d2 = "0"
2425
r2d2_mysql = "25"
2526
r2d2_sqlite = { version = "0", features = ["bundled"] }

0 commit comments

Comments
 (0)