1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-12 23:50:27 +02:00

Add disableNotify param to client APIs, to match Rest APIs (#3723)

This commit is contained in:
Doug Lauder
2022-08-23 11:37:49 -04:00
committed by GitHub
parent bfde68c532
commit 0311cc91ad
4 changed files with 36 additions and 32 deletions

View File

@ -450,7 +450,7 @@ func TestGetAllBlocksForBoard(t *testing.T) {
},
}
insertedBlocks, resp := th.Client.InsertBlocks(board.ID, newBlocks)
insertedBlocks, resp := th.Client.InsertBlocks(board.ID, newBlocks, false)
require.NoError(t, resp.Error)
require.Len(t, insertedBlocks, len(newBlocks))
@ -1905,7 +1905,7 @@ func TestDuplicateBoard(t *testing.T) {
},
}
newBlocks, resp = th.Client.InsertBlocks(board.ID, newBlocks)
newBlocks, resp = th.Client.InsertBlocks(board.ID, newBlocks, false)
require.NoError(t, resp.Error)
require.Len(t, newBlocks, 1)
@ -1990,7 +1990,7 @@ func TestDuplicateBoard(t *testing.T) {
},
}
newBlocks, resp = th.Client.InsertBlocks(board.ID, newBlocks)
newBlocks, resp = th.Client.InsertBlocks(board.ID, newBlocks, false)
require.NoError(t, resp.Error)
require.Len(t, newBlocks, 1)