diff --git a/tests/organization.rs b/tests/organization.rs index 1bfd137..82a2a77 100644 --- a/tests/organization.rs +++ b/tests/organization.rs @@ -70,7 +70,7 @@ async fn test_organization() -> Result<()> { println!("Created organization: {}", data.id); let response = client - .post(format!("/org/delete/{}", id)) + .post(format!("/org/delete/{}", data.id)) .json(&Credentials { id: &id, token: &token, @@ -80,7 +80,7 @@ async fn test_organization() -> Result<()> { response.into_json::>().await.unwrap(); - assert!(!Path::new("content").join(id.clone()).exists()); + assert!(!Path::new("content").join(data.id.clone()).exists()); client .post(format!("/account/delete/{}", id))