summaryrefslogtreecommitdiffstats
path: root/tests/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/db.rs')
-rw-r--r--tests/db.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/db.rs b/tests/db.rs
index e2608a1..75977d1 100644
--- a/tests/db.rs
+++ b/tests/db.rs
@@ -125,7 +125,7 @@ fn accepted_release_pointer_is_compared_and_swapped() {
let rel = env
.db
.writer
- .tx(move |tx| {
+ .tx_for_tests(move |tx| {
tx.execute(
"INSERT INTO release (pkgbase_id, aur_commit, recipe_hash, pkgver, pkgrel, state, created_at)
VALUES (?1,'aaaa','rh','1.0','1','published','2026-01-01T00:00:00Z')",
@@ -222,7 +222,7 @@ fn i1_query_flags_index_entries_without_approval() {
let rel = env
.db
.writer
- .tx(move |tx| {
+ .tx_for_tests(move |tx| {
tx.execute(
"INSERT INTO release (pkgbase_id, aur_commit, recipe_hash, pkgver, pkgrel, state, created_at)
VALUES (?1,'aaaa','rh','1.0','1','published','2026-01-01T00:00:00Z')",