Fixing weird fail on delete command tests (#9937)

Этот коммит содержится в:
Jesús Espino
2018-12-04 12:36:58 +01:00
коммит произвёл Carlos Tadeu Panato Junior
родитель 2d8cb45ff3
Коммит 105fc4b38d

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

@@ -159,7 +159,7 @@ func TestDeleteCommand(t *testing.T) {
require.Nil(t, err)
assert.Equal(t, len(commands), 1)
CheckCommand(t, "command", "delete", command.Id)
assert.Nil(t, RunCommand(t, "command", "delete", command.Id))
commands, err = th.App.ListTeamCommands(team.Id)
require.Nil(t, err)
assert.Equal(t, len(commands), 0)