aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-04-02 22:55:59 +0200
committerHarald Eilertsen <haraldei@anduin.net>2019-04-02 22:55:59 +0200
commitb694e0f342ef4f2687afdcd7424dd4a0fe350799 (patch)
tree69f494b107f53fa3e491311a565ae365b93c1dc7 /Cargo.lock
parentb79d1453c4a8f999526d2af6238a1c2570c1e495 (diff)
downloadramaskrik-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.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 08f1c11..046159b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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)",