@@ -319,6 +319,7 @@ func TestReindex_addSyncRelations(t *testing.T) {
319
319
fx .sourceFx .EXPECT ().IDsListerBySmartblockType (space1 , coresb .SmartBlockTypeProfilePage ).Return (idsLister {Ids : []string {}}, nil )
320
320
fx .sourceFx .EXPECT ().IDsListerBySmartblockType (space1 , coresb .SmartBlockTypeChatDerivedObject ).Return (idsLister {Ids : []string {}}, nil )
321
321
fx .sourceFx .EXPECT ().IDsListerBySmartblockType (space1 , coresb .SmartBlockTypeChatObject ).Return (idsLister {Ids : []string {}}, nil )
322
+ fx .sourceFx .EXPECT ().IDsListerBySmartblockType (space1 , coresb .SmartBlockTypeSpaceView ).Return (idsLister {Ids : []string {}}, nil )
322
323
323
324
space1 .EXPECT ().DoLockedIfNotExists ("1" , mock .AnythingOfType ("func() error" )).Return (nil )
324
325
space1 .EXPECT ().DoLockedIfNotExists ("2" , mock .AnythingOfType ("func() error" )).Return (nil )
@@ -358,6 +359,7 @@ func TestReindex_addSyncRelations(t *testing.T) {
358
359
fx .sourceFx .EXPECT ().IDsListerBySmartblockType (space1 , coresb .SmartBlockTypeProfilePage ).Return (idsLister {Ids : []string {}}, nil )
359
360
fx .sourceFx .EXPECT ().IDsListerBySmartblockType (space1 , coresb .SmartBlockTypeChatDerivedObject ).Return (idsLister {Ids : []string {}}, nil )
360
361
fx .sourceFx .EXPECT ().IDsListerBySmartblockType (space1 , coresb .SmartBlockTypeChatObject ).Return (idsLister {Ids : []string {}}, nil )
362
+ fx .sourceFx .EXPECT ().IDsListerBySmartblockType (space1 , coresb .SmartBlockTypeSpaceView ).Return (idsLister {Ids : []string {}}, nil )
361
363
362
364
space1 .EXPECT ().DoLockedIfNotExists ("1" , mock .AnythingOfType ("func() error" )).Return (nil )
363
365
space1 .EXPECT ().DoLockedIfNotExists ("2" , mock .AnythingOfType ("func() error" )).Return (nil )
0 commit comments