test: update tsts

This commit is contained in:
Sandro Eiler 2024-01-01 21:02:31 +01:00
parent 8257255dc2
commit 486271a523
3 changed files with 63 additions and 43 deletions

View file

@ -1,4 +1,4 @@
use axum::routing::get;
use axum::routing::post;
use axum::Router;
use serde::Deserialize;
@ -8,5 +8,5 @@ struct FormData {
name: String,
}
pub fn routes_subscriptions() -> Router {
Router::new().route("/subscriptions", get(|| async {}))
Router::new().route("/subscriptions", post(|| async {}))
}