mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-21 13:38:56 +02:00
fixing test
This commit is contained in:
parent
84614b8f4f
commit
8d83e8db2f
@ -1610,6 +1610,15 @@ func TestUpdateMember(t *testing.T) {
|
||||
board, err := th.Server.App().CreateBoard(newBoard, th.GetUser1().ID, true)
|
||||
require.NoError(t, err)
|
||||
|
||||
newUser2Member := &model.BoardMember{
|
||||
UserID: th.GetUser2().ID,
|
||||
BoardID: board.ID,
|
||||
Schemeadmin: true,
|
||||
}
|
||||
user2Member, err := th.Server.App().AddMemberToBoard(newUser2Member)
|
||||
require.NoError(t, err)
|
||||
require.NotNil(t, user2Member)
|
||||
|
||||
memberUpdate := &model.BoardMember{
|
||||
UserID: th.GetUser1().ID,
|
||||
BoardID: board.ID,
|
||||
|
Loading…
Reference in New Issue
Block a user