Fix outstanding linting issues

Этот коммит содержится в:
Claudio Costa
2021-07-21 15:11:11 +02:00
родитель e199eba313
Коммит 1898670340

Просмотреть файл

@@ -155,7 +155,7 @@ func (th *TestHelper) InitBasic() *TestHelper {
th.BasicUser2, _ = th.service.userService.GetUser(th.BasicUser2.Id)
th.addUserToTeam(th.BasicTeam, th.BasicUser2)
th.BasicChannel = th.createChannel(th.BasicTeam, model.ChannelTypeOpen)
th.BasicChannel = th.createChannel(th.BasicTeam, string(model.ChannelTypeOpen))
th.addUserToChannel(th.BasicChannel, th.SystemAdminUser)
th.addUserToChannel(th.BasicChannel, th.BasicUser)
th.addUserToChannel(th.BasicChannel, th.BasicUser2)
@@ -187,7 +187,7 @@ func (th *TestHelper) createChannel(team *model.Team, channelType string) *model
channel := &model.Channel{
DisplayName: "dn_" + id,
Name: "name_" + id,
Type: channelType,
Type: model.ChannelType(channelType),
TeamId: team.Id,
CreatorId: th.BasicUser.Id,
}