From cf652b9210ea0fabf7a782936282007c674c23fe Mon Sep 17 00:00:00 2001 From: K0nnyaku Date: Tue, 10 Dec 2024 22:17:44 +0800 Subject: [PATCH] fix: test-org (#62) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 苏向夜 <46275354+fu050409@users.noreply.github.com> --- tests/organization.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))