test: fix test case
This commit is contained in:
parent
90a644eaad
commit
5c7a12cc95
|
|
@ -252,10 +252,6 @@ async fn test_publish_doc() {
|
||||||
assert_eq!(default_info_meta.meta.title, "my_title_1");
|
assert_eq!(default_info_meta.meta.title, "my_title_1");
|
||||||
}
|
}
|
||||||
|
|
||||||
c.unpublish_collabs(&workspace_id, &[view_id_1, view_id_2])
|
|
||||||
.await
|
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
{
|
{
|
||||||
let new_publish_name_1 = "new-publish-name-1".to_string();
|
let new_publish_name_1 = "new-publish-name-1".to_string();
|
||||||
|
|
||||||
|
|
@ -305,6 +301,11 @@ async fn test_publish_doc() {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// user unpublish collabs
|
||||||
|
c.unpublish_collabs(&workspace_id, &[view_id_1, view_id_2])
|
||||||
|
.await
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
{
|
{
|
||||||
// Deleted collab should not be accessible
|
// Deleted collab should not be accessible
|
||||||
let guest_client = localhost_client();
|
let guest_client = localhost_client();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue