Add unit tests for the services
This commit is contained in:
parent
926ac006e7
commit
3b20d12ba1
9 changed files with 231 additions and 12 deletions
|
|
@ -3,6 +3,10 @@ name = "service_impl"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.80"
|
||||
mockall = "0.12.1"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies.service]
|
||||
|
|
@ -10,3 +14,7 @@ path = "../service"
|
|||
|
||||
[dependencies.dao]
|
||||
path = "../dao"
|
||||
|
||||
[dev-dependencies.tokio]
|
||||
version = "1.37.0"
|
||||
features = ["full"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue