summaryrefslogtreecommitdiffstats
path: root/tests/time.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/time.rs')
-rw-r--r--tests/time.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/time.rs b/tests/time.rs
index a34202f..3b17d7c 100644
--- a/tests/time.rs
+++ b/tests/time.rs
@@ -11,10 +11,7 @@ use common::Env;
#[test]
fn a_lease_taken_under_a_pinned_clock_expires_against_that_clock() {
let env = Env::new();
- env.exec(
- "INSERT INTO pkgbase (name, aur_url, created_at) VALUES ('x', 'u', '2026-01-01T00:00:00Z')",
- &[],
- );
+ env.exec("INSERT INTO pkgbase (name, aur_url, created_at) VALUES ('x', 'u', '2026-01-01T00:00:00Z')", &[]);
let pb = env.query_i64("SELECT id FROM pkgbase WHERE name='x'", &[]).unwrap();
builds::enqueue(&env.db, "b1", pb, None, "manual", None, "default", 0).unwrap();