@@ -505,51 +505,6 @@ public async Task MorphTypeUpdatesSyncBothWays()
505505 fwdataStemAfterSync . Abbreviation [ "en" ] . Should ( ) . Be ( newAbbr ) ;
506506 }
507507
508- [ Fact ]
509- [ Trait ( "Category" , "Integration" ) ]
510- public async Task MorphTypeCreationDoesNotSyncCrdtToFw ( )
511- {
512- // FwDataMiniLcmApi.CreateMorphType is a no-op because FLEx forbids morph type creation or deletion
513- var crdtApi = _fixture . CrdtApi ;
514- var fwdataApi = _fixture . FwDataApi ;
515- await _syncService . Import ( crdtApi , fwdataApi ) ;
516- var projectSnapshot = await _fixture . RegenerateAndGetSnapshot ( ) ;
517-
518- var newMorphType = SyncTestHelpers . CreateMorphType ( MorphTypeKind . Unknown , prefix : "!" , postfix : "!" ) ;
519- await crdtApi . CreateMorphType ( newMorphType ) ;
520- var syncResult = await _syncService . Sync ( crdtApi , fwdataApi , projectSnapshot ) ;
521-
522- var fwdataMorphTypes = await fwdataApi . GetMorphTypes ( ) . ToArrayAsync ( ) ;
523- var crdtMorphTypes = await crdtApi . GetMorphTypes ( ) . ToArrayAsync ( ) ;
524- crdtMorphTypes . Should ( ) . ContainEquivalentOf ( newMorphType ) ;
525- fwdataMorphTypes . Should ( ) . NotContainEquivalentOf ( newMorphType ) ;
526- crdtMorphTypes . Length . Should ( ) . Be ( fwdataMorphTypes . Length + 1 ) ;
527- crdtMorphTypes . Where ( m => m . Kind != MorphTypeKind . Unknown ) . Should ( ) . BeEquivalentTo ( fwdataMorphTypes ) ;
528- }
529-
530- [ Fact ]
531- [ Trait ( "Category" , "Integration" ) ]
532- public async Task MorphTypeDeletionDoesNotSyncCrdtToFw ( )
533- {
534- // FwDataMiniLcmApi.DeleteMorphType is a no-op because FLEx forbids morph type creation or deletion
535- var crdtApi = _fixture . CrdtApi ;
536- var fwdataApi = _fixture . FwDataApi ;
537- await _syncService . Import ( crdtApi , fwdataApi ) ;
538- var projectSnapshot = await _fixture . RegenerateAndGetSnapshot ( ) ;
539-
540- var prefixingInterfix = await crdtApi . GetMorphType ( MorphTypeKind . PrefixingInterfix ) ;
541- prefixingInterfix . Should ( ) . NotBeNull ( ) ;
542- await crdtApi . DeleteMorphType ( prefixingInterfix . Id ) ;
543- var syncResult = await _syncService . Sync ( crdtApi , fwdataApi , projectSnapshot ) ;
544-
545- var fwdataMorphTypes = await fwdataApi . GetMorphTypes ( ) . ToArrayAsync ( ) ;
546- var crdtMorphTypes = await crdtApi . GetMorphTypes ( ) . ToArrayAsync ( ) ;
547- fwdataMorphTypes . Should ( ) . ContainEquivalentOf ( prefixingInterfix ) ;
548- crdtMorphTypes . Should ( ) . NotContainEquivalentOf ( prefixingInterfix ) ;
549- crdtMorphTypes . Length . Should ( ) . Be ( fwdataMorphTypes . Length - 1 ) ;
550- crdtMorphTypes . Should ( ) . BeEquivalentTo ( fwdataMorphTypes . Where ( m => m . Kind != MorphTypeKind . PrefixingInterfix ) ) ;
551- }
552-
553508 [ Fact ]
554509 [ Trait ( "Category" , "Integration" ) ]
555510 public async Task UpdatingAnEntryInEachProjectSyncsAcrossBoth ( )
0 commit comments