fix(tests): use local sqlite for tests and adapt test after jwt library update

This commit is contained in:
2026-09-04 23:23:35 +04:00
parent 50a580b07c
commit 384149ae38
11 changed files with 127 additions and 245 deletions
+14 -3
View File
@@ -38,7 +38,7 @@ futures-util = "0"
# authorization
bcrypt = "0"
jsonwebtoken = { version = "11", features = ["use_pem"] }
jsonwebtoken = { version = "11", features = ["use_pem", "aws_lc_rs"] }
# creating users
objectid = "0"
@@ -48,7 +48,17 @@ reqwest = { version = "0", features = ["json", "form"] }
mime = "0"
# error handling
sentry = "0"
sentry = { version = "0", default-features = false, features = [
"backtrace",
"contexts",
"debug-images",
"logs",
"metrics",
"panic",
"release-health",
"reqwest",
"rustls",
] }
sentry-actix = "0"
# [de]serializing
@@ -70,7 +80,7 @@ log = "0"
# telegram webdata deciding and verify
base64 = "0"
percent-encoding = "2"
ed25519-dalek = "3.0.0-pre.1"
aws-lc-rs = "1"
# development tracing
console-subscriber = { version = "0", optional = true }
@@ -78,4 +88,5 @@ tracing = { version = "0", optional = true }
[dev-dependencies]
providers = { path = "providers", features = ["test"] }
database = { path = "database", features = ["sqlite"] }
actix-test = { path = "actix-test" }