Skip to content

Commit

Permalink
fix: test-org (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: 苏向夜 <[email protected]>
  • Loading branch information
K0nnyaku and fu050409 authored Dec 10, 2024
1 parent 27fd2c2 commit cf652b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/organization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -80,7 +80,7 @@ async fn test_organization() -> Result<()> {

response.into_json::<Response<Empty>>().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))
Expand Down

0 comments on commit cf652b9

Please sign in to comment.