conversions web + put table definition

This commit is contained in:
Filipriec
2026-08-24 09:35:19 +02:00
parent 2e95201a71
commit 5d6f53c96e
25 changed files with 1542 additions and 96 deletions

View File

@@ -367,12 +367,11 @@ mod tests {
}
}
/// The exchange-rate page is read-only and behind a session like every
/// other page, so an anonymous visitor is sent to the login page rather
/// than to the backend.
/// Exchange-rate administration is behind a session; the former ECB page
/// remains as a stable redirect into the provider section.
#[tokio::test]
async fn the_exchange_rate_pages_are_mounted_and_need_a_session() {
for path in ["/admin/ecb", "/admin/ecb/status"] {
for path in ["/admin/exchange-rates", "/admin/ecb/status"] {
let (status, _) = get(path).await;
assert_eq!(
status,
@@ -380,6 +379,9 @@ mod tests {
"{path} did not send an anonymous visitor to the login page"
);
}
let (status, _) = get("/admin/ecb").await;
assert_eq!(status, axum::http::StatusCode::PERMANENT_REDIRECT);
}
/// Permissions is a nav section of its own, so its three pages are mounted