diff --git a/src/tests/fixtures.rs b/src/tests/fixtures.rs index b023077..37fed29 100644 --- a/src/tests/fixtures.rs +++ b/src/tests/fixtures.rs @@ -253,17 +253,11 @@ impl async fn cleanup( &mut self, - resource: Option<( + _resource: Option<( (crate::Client, crate::Workspace, crate::buffer::Controller), (crate::Client, crate::Workspace, crate::buffer::Controller), )>, ) { - if let Some(((client, _, _), (_, _, _))) = resource { - // buffer deletion is implied in workspace deletion - client.leave_workspace(&self.workspace); - if let Err(e) = client.delete_workspace(&self.workspace).await { - eprintln!("could not delete workspace: {e}"); - } - } + // buffer deletion is implied in workspace deletion } } diff --git a/src/tests/server.rs b/src/tests/server.rs index 0f3fda7..15676a1 100644 --- a/src/tests/server.rs +++ b/src/tests/server.rs @@ -86,7 +86,7 @@ async fn test_workspace_interactions() { let client_bob = ClientFixture::of("bob").setup().await?; let workspace_name = format!( "test-workspace-interactions-{}", - uuid::Uuid::new_v4().to_string() + uuid::Uuid::new_v4() ); client_alice.create_workspace(&workspace_name).await?;