diff options
author | fxqnlr <[email protected]> | 2022-11-03 21:34:04 +0100 |
---|---|---|
committer | fxqnlr <[email protected]> | 2022-11-03 21:34:04 +0100 |
commit | 96cc5257de09682df345e768dc2a91303f9b36c9 (patch) | |
tree | f505d14c581e2bef4cfe222bd1069661bedd22e0 /tests | |
parent | b125dfd03084fff47ab8e90d002c6699b762d998 (diff) | |
download | modlist-96cc5257de09682df345e768dc2a91303f9b36c9.tar modlist-96cc5257de09682df345e768dc2a91303f9b36c9.tar.gz modlist-96cc5257de09682df345e768dc2a91303f9b36c9.zip |
added update beginnings; init of tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/db/mod.rs | 5 | ||||
-rw-r--r-- | tests/db_integration.rs | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/db/mod.rs b/tests/db/mod.rs new file mode 100644 index 0000000..b5aed75 --- /dev/null +++ b/tests/db/mod.rs | |||
@@ -0,0 +1,5 @@ | |||
1 | use std::fs::File; | ||
2 | |||
3 | pub fn setup() { | ||
4 | File::create("./setuptests").unwrap(); | ||
5 | } | ||
diff --git a/tests/db_integration.rs b/tests/db_integration.rs new file mode 100644 index 0000000..82cfe0f --- /dev/null +++ b/tests/db_integration.rs | |||
@@ -0,0 +1,7 @@ | |||
1 | mod db; | ||
2 | |||
3 | #[test] | ||
4 | fn test_add() { | ||
5 | db::setup(); | ||
6 | assert!(true); | ||
7 | } | ||