summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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}