Skip to content

Commit c936a1f

Browse files
Add mock tests for github and gitlab updaters
1 parent f3390b4 commit c936a1f

File tree

6 files changed

+347
-30
lines changed

6 files changed

+347
-30
lines changed

Cargo.lock

Lines changed: 140 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ comrak = { version = "0.9.1", default-features = false }
4141
toml = "0.5"
4242
schemamama = "0.3"
4343
schemamama_postgres = "0.3"
44-
systemstat = "0.1.4"
44+
systemstat = "0.1.7"
4545
prometheus = { version = "0.10.0", default-features = false }
4646
rustwide = "0.12"
4747
mime_guess = "2"
@@ -58,6 +58,7 @@ dashmap = "3.11.10"
5858
string_cache = "0.8.0"
5959
postgres-types = { version = "0.2", features = ["derive"] }
6060
getrandom = "0.2.1"
61+
funty = "=1.1.0"
6162

6263
# Async
6364
tokio = { version = "1.0", features = ["rt-multi-thread"] }
@@ -102,6 +103,7 @@ procfs = "0.7"
102103
criterion = "0.3"
103104
kuchiki = "0.8"
104105
rand = "0.8"
106+
mockito = "0.29"
105107

106108
[build-dependencies]
107109
time = "0.1"

0 commit comments

Comments
 (0)