Add upvote handler

This commit is contained in:
Alex Selimov 2026-03-19 13:53:03 -04:00
parent ef3c5c7fe8
commit 3bff31ff98
3 changed files with 167 additions and 13 deletions

View file

@ -72,7 +72,6 @@ mod postgres_tests {
}
#[tokio::test]
#[ignore]
pub async fn postgres_tests() {
let db = test_pool().await;
let votes = vec![
@ -174,7 +173,6 @@ mod postgres_tests {
}
#[tokio::test]
#[ignore]
pub async fn insert_idempotency_test() {
let db = test_pool().await;
let votes = vec![(
@ -210,7 +208,6 @@ mod postgres_tests {
}
#[tokio::test]
#[ignore]
pub async fn delete_idempotency_test() {
let db = test_pool().await;
let votes = vec![(