test(WIP): added skeleton for testing of behaviour when deleting workspace with people attached.

Need to know what is the expected behaviour that we want.
This commit is contained in:
cschen 2024-11-03 17:24:08 +01:00
parent 35b9b12aaf
commit 84bfc45fc8

View file

@ -168,6 +168,23 @@ async fn test_deleting_twice_or_non_existing_is_an_error() {
})
.await
}
// Now we can begin using WorkspaceFixtures for with a single user.
// #[tokio::test]
// async fn test_delete_workspace_with_users_attached() {
// WorkspaceFixture::one("bob", "to-be-deleted")
// .with(|(client, workspace): &mut (crate::Client, crate::Workspace)| {
// async move {
// client.delete_workspace(workspace.id()).await?;
// // TODO: I Don't know what should happen here.
// Ok(())
// }
// })
// .await
// }
.await;
}