|  | @@ -292,53 +292,53 @@ async fn folder_sync_revision_seq() {
 | 
	
		
			
				|  |  |      .await;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -#[tokio::test]
 | 
	
		
			
				|  |  | -async fn folder_sync_revision_with_new_app() {
 | 
	
		
			
				|  |  | -    let mut test = FolderTest::new().await;
 | 
	
		
			
				|  |  | -    let app_name = "AppFlowy contributors".to_owned();
 | 
	
		
			
				|  |  | -    let app_desc = "Welcome to be a AppFlowy contributor".to_owned();
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -    test.run_scripts(vec![
 | 
	
		
			
				|  |  | -        AssertNextSyncRevId(Some(1)),
 | 
	
		
			
				|  |  | -        AssertNextSyncRevId(Some(2)),
 | 
	
		
			
				|  |  | -        CreateApp {
 | 
	
		
			
				|  |  | -            name: app_name.clone(),
 | 
	
		
			
				|  |  | -            desc: app_desc.clone(),
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | -        AssertCurrentRevId(3),
 | 
	
		
			
				|  |  | -        AssertNextSyncRevId(Some(3)),
 | 
	
		
			
				|  |  | -        AssertNextSyncRevId(None),
 | 
	
		
			
				|  |  | -    ])
 | 
	
		
			
				|  |  | -    .await;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -    let app = test.app.clone();
 | 
	
		
			
				|  |  | -    assert_eq!(app.name, app_name);
 | 
	
		
			
				|  |  | -    assert_eq!(app.desc, app_desc);
 | 
	
		
			
				|  |  | -    test.run_scripts(vec![ReadApp(app.id.clone()), AssertApp(app)]).await;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -#[tokio::test]
 | 
	
		
			
				|  |  | -async fn folder_sync_revision_with_new_view() {
 | 
	
		
			
				|  |  | -    let mut test = FolderTest::new().await;
 | 
	
		
			
				|  |  | -    let view_name = "AppFlowy features".to_owned();
 | 
	
		
			
				|  |  | -    let view_desc = "😁".to_owned();
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -    test.run_scripts(vec![
 | 
	
		
			
				|  |  | -        AssertNextSyncRevId(Some(1)),
 | 
	
		
			
				|  |  | -        AssertNextSyncRevId(Some(2)),
 | 
	
		
			
				|  |  | -        CreateView {
 | 
	
		
			
				|  |  | -            name: view_name.clone(),
 | 
	
		
			
				|  |  | -            desc: view_desc.clone(),
 | 
	
		
			
				|  |  | -            data_type: ViewDataFormatPB::DeltaFormat,
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | -        AssertCurrentRevId(3),
 | 
	
		
			
				|  |  | -        AssertNextSyncRevId(Some(3)),
 | 
	
		
			
				|  |  | -        AssertNextSyncRevId(None),
 | 
	
		
			
				|  |  | -    ])
 | 
	
		
			
				|  |  | -    .await;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -    let view = test.view.clone();
 | 
	
		
			
				|  |  | -    assert_eq!(view.name, view_name);
 | 
	
		
			
				|  |  | -    test.run_scripts(vec![ReadView(view.id.clone()), AssertView(view)])
 | 
	
		
			
				|  |  | -        .await;
 | 
	
		
			
				|  |  | -}
 | 
	
		
			
				|  |  | +// #[tokio::test]
 | 
	
		
			
				|  |  | +// async fn folder_sync_revision_with_new_app() {
 | 
	
		
			
				|  |  | +//     let mut test = FolderTest::new().await;
 | 
	
		
			
				|  |  | +//     let app_name = "AppFlowy contributors".to_owned();
 | 
	
		
			
				|  |  | +//     let app_desc = "Welcome to be a AppFlowy contributor".to_owned();
 | 
	
		
			
				|  |  | +//
 | 
	
		
			
				|  |  | +//     test.run_scripts(vec![
 | 
	
		
			
				|  |  | +//         AssertNextSyncRevId(Some(1)),
 | 
	
		
			
				|  |  | +//         AssertNextSyncRevId(Some(2)),
 | 
	
		
			
				|  |  | +//         CreateApp {
 | 
	
		
			
				|  |  | +//             name: app_name.clone(),
 | 
	
		
			
				|  |  | +//             desc: app_desc.clone(),
 | 
	
		
			
				|  |  | +//         },
 | 
	
		
			
				|  |  | +//         AssertCurrentRevId(3),
 | 
	
		
			
				|  |  | +//         AssertNextSyncRevId(Some(3)),
 | 
	
		
			
				|  |  | +//         AssertNextSyncRevId(None),
 | 
	
		
			
				|  |  | +//     ])
 | 
	
		
			
				|  |  | +//     .await;
 | 
	
		
			
				|  |  | +//
 | 
	
		
			
				|  |  | +//     let app = test.app.clone();
 | 
	
		
			
				|  |  | +//     assert_eq!(app.name, app_name);
 | 
	
		
			
				|  |  | +//     assert_eq!(app.desc, app_desc);
 | 
	
		
			
				|  |  | +//     test.run_scripts(vec![ReadApp(app.id.clone()), AssertApp(app)]).await;
 | 
	
		
			
				|  |  | +// }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +// #[tokio::test]
 | 
	
		
			
				|  |  | +// async fn folder_sync_revision_with_new_view() {
 | 
	
		
			
				|  |  | +//     let mut test = FolderTest::new().await;
 | 
	
		
			
				|  |  | +//     let view_name = "AppFlowy features".to_owned();
 | 
	
		
			
				|  |  | +//     let view_desc = "😁".to_owned();
 | 
	
		
			
				|  |  | +//
 | 
	
		
			
				|  |  | +//     test.run_scripts(vec![
 | 
	
		
			
				|  |  | +//         AssertNextSyncRevId(Some(1)),
 | 
	
		
			
				|  |  | +//         AssertNextSyncRevId(Some(2)),
 | 
	
		
			
				|  |  | +//         CreateView {
 | 
	
		
			
				|  |  | +//             name: view_name.clone(),
 | 
	
		
			
				|  |  | +//             desc: view_desc.clone(),
 | 
	
		
			
				|  |  | +//             data_type: ViewDataFormatPB::DeltaFormat,
 | 
	
		
			
				|  |  | +//         },
 | 
	
		
			
				|  |  | +//         AssertCurrentRevId(3),
 | 
	
		
			
				|  |  | +//         AssertNextSyncRevId(Some(3)),
 | 
	
		
			
				|  |  | +//         AssertNextSyncRevId(None),
 | 
	
		
			
				|  |  | +//     ])
 | 
	
		
			
				|  |  | +//     .await;
 | 
	
		
			
				|  |  | +//
 | 
	
		
			
				|  |  | +//     let view = test.view.clone();
 | 
	
		
			
				|  |  | +//     assert_eq!(view.name, view_name);
 | 
	
		
			
				|  |  | +//     test.run_scripts(vec![ReadView(view.id.clone()), AssertView(view)])
 | 
	
		
			
				|  |  | +//         .await;
 | 
	
		
			
				|  |  | +// }
 |