summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2022-11-03 21:34:04 +0100
committerfxqnlr <[email protected]>2022-11-03 21:34:04 +0100
commit96cc5257de09682df345e768dc2a91303f9b36c9 (patch)
treef505d14c581e2bef4cfe222bd1069661bedd22e0 /tests
parentb125dfd03084fff47ab8e90d002c6699b762d998 (diff)
downloadmodlist-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.rs5
-rw-r--r--tests/db_integration.rs7
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 @@
1use std::fs::File;
2
3pub 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 @@
1mod db;
2
3#[test]
4fn test_add() {
5 db::setup();
6 assert!(true);
7}