diff --git a/backend/tests/api_admin_crawler.rs b/backend/tests/api_admin_crawler.rs index 1fdb3be..34f4cde 100644 --- a/backend/tests/api_admin_crawler.rs +++ b/backend/tests/api_admin_crawler.rs @@ -573,7 +573,7 @@ async fn requeue_chapter_audit_records_chapter_target_id(pool: PgPool) { let (target_kind, target_id): (String, Option) = sqlx::query_as( "SELECT target_kind, target_id FROM admin_audit \ WHERE action = 'crawler_dead_jobs_requeue' \ - ORDER BY created_at DESC LIMIT 1", + ORDER BY at DESC LIMIT 1", ) .fetch_one(&pool) .await @@ -601,7 +601,7 @@ async fn requeue_all_audit_omits_target_id_but_logs_count(pool: PgPool) { sqlx::query_as( "SELECT target_kind, target_id, payload FROM admin_audit \ WHERE action = 'crawler_dead_jobs_requeue' \ - ORDER BY created_at DESC LIMIT 1", + ORDER BY at DESC LIMIT 1", ) .fetch_one(&pool) .await