Этот коммит содержится в:
Shobhit Gupta
2019-10-17 10:41:45 -07:00
коммит произвёл Lev
родитель 8c94f48991
Коммит 4a6cf29d4e

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

@@ -5,6 +5,7 @@ import (
"github.com/mattermost/mattermost-server/model"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestGetTermsOfService(t *testing.T) {
@@ -13,9 +14,7 @@ func TestGetTermsOfService(t *testing.T) {
Client := th.Client
_, err := th.App.CreateTermsOfService("abc", th.BasicUser.Id)
if err != nil {
t.Fatal(err)
}
require.Nil(t, err)
termsOfService, resp := Client.GetTermsOfService("")
CheckNoError(t, resp)