diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-04-02 22:55:59 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-04-02 22:55:59 +0200 |
commit | b694e0f342ef4f2687afdcd7424dd4a0fe350799 (patch) | |
tree | 69f494b107f53fa3e491311a565ae365b93c1dc7 /Cargo.lock | |
parent | b79d1453c4a8f999526d2af6238a1c2570c1e495 (diff) | |
download | ramaskrik-social-b694e0f342ef4f2687afdcd7424dd4a0fe350799.tar.gz ramaskrik-social-b694e0f342ef4f2687afdcd7424dd4a0fe350799.tar.bz2 ramaskrik-social-b694e0f342ef4f2687afdcd7424dd4a0fe350799.zip |
Refactor tests to always load fixtures, and sync execution.
Rust will run tests in parallel by default, which does not work
too well with using db transactions as a means to isolate changes
in the database between tests. So we have to run the database
tests one at a time, thus the mutex.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -499,6 +499,7 @@ version = "0.1.0" dependencies = [ "diesel 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "dotenv 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "rocket 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "rocket_contrib 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", |