mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-10 01:51:07 +09:00
GO-2371 Consistent names and fix tests
This commit is contained in:
parent
7e3906098a
commit
0420a4b4aa
5 changed files with 70 additions and 27 deletions
|
@ -109,10 +109,10 @@ func (fx *fixture) expectRun(newAccount bool) {
|
|||
}
|
||||
// startLoad
|
||||
fx.techSpace.EXPECT().SpaceViewExists(mock.Anything, testPersonalSpaceID).Return(true, nil)
|
||||
fx.techSpace.EXPECT().SetInfo(mock.Anything, mock.Anything).Return(nil)
|
||||
fx.techSpace.EXPECT().SetLocalInfo(mock.Anything, mock.Anything).Return(nil)
|
||||
// wait load
|
||||
fx.spaceCore.EXPECT().Get(mock.Anything, testPersonalSpaceID).Return(&spacecore.AnySpace{Space: fx.personalSpace}, nil)
|
||||
fx.techSpace.EXPECT().SetInfo(mock.Anything, spaceinfo.SpaceInfo{
|
||||
fx.techSpace.EXPECT().SetLocalInfo(mock.Anything, spaceinfo.SpaceLocalInfo{
|
||||
SpaceID: testPersonalSpaceID,
|
||||
LocalStatus: spaceinfo.LocalStatusOk,
|
||||
RemoteStatus: spaceinfo.RemoteStatusUnknown,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue