Update telemetry
This commit is contained in:
@@ -3,13 +3,13 @@ use sqlx::PgPool;
|
||||
use wiremock::ResponseTemplate;
|
||||
|
||||
#[sqlx::test]
|
||||
async fn confirmation_links_without_token_are_rejected_with_a_400(connection_pool: PgPool) {
|
||||
async fn confirmation_links_without_token_are_rejected_with_a_404(connection_pool: PgPool) {
|
||||
let app = TestApp::spawn(connection_pool).await;
|
||||
|
||||
let response = reqwest::get(&format!("{}/subscriptions/confirm", &app.address))
|
||||
.await
|
||||
.unwrap();
|
||||
assert_eq!(400, response.status().as_u16());
|
||||
assert_eq!(404, response.status().as_u16());
|
||||
}
|
||||
|
||||
#[sqlx::test]
|
||||
|
||||
Reference in New Issue
Block a user