Skip to content

Commit

Permalink
Fix TestContext
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Sep 18, 2021
1 parent 29eb173 commit 46bb460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/query_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ pub async fn find_all_filter_with_results() {
feature = "sqlx-postgres"
))]
pub async fn transaction() {
let ctx = TestContext::new("find_all_filter_with_results").await;
let ctx = TestContext::new("transaction_test").await;

ctx.db.transaction::<_, (), DbErr>(|txn| Box::pin(async move {
let _ = bakery::ActiveModel {
Expand Down Expand Up @@ -262,7 +262,7 @@ pub async fn transaction() {
feature = "sqlx-postgres"
))]
pub async fn transaction_with_reference() {
let ctx = TestContext::new("find_all_filter_with_results").await;
let ctx = TestContext::new("transaction_with_reference_test").await;
let name1 = "SeaSide Bakery";
let name2 = "Top Bakery";
let search_name = "Bakery";
Expand Down

0 comments on commit 46bb460

Please sign in to comment.