Fixing misspell errors (#8544)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
eb48292a3a
Коммит
014a3b6a60
@@ -743,7 +743,7 @@ func viewChannel(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
c.App.UpdateLastActivityAtIfNeeded(c.Session)
|
||||
|
||||
// Returning {"status": "OK", ...} for backwards compatability
|
||||
// Returning {"status": "OK", ...} for backwards compatibility
|
||||
resp := &model.ChannelViewResponse{
|
||||
Status: "OK",
|
||||
LastViewedAtTimes: times,
|
||||
|
||||
@@ -155,7 +155,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
h.handleFunc(c, w, r)
|
||||
}
|
||||
|
||||
// Handle errors that have occured
|
||||
// Handle errors that have occurred
|
||||
if c.Err != nil {
|
||||
c.Err.Translate(c.T)
|
||||
c.Err.RequestId = c.RequestId
|
||||
|
||||
@@ -129,7 +129,7 @@ func TestGetRolesByNames(t *testing.T) {
|
||||
assert.Contains(t, received, role2)
|
||||
assert.Contains(t, received, role3)
|
||||
|
||||
// Check a list of non-existant roles.
|
||||
// Check a list of non-existent roles.
|
||||
received, resp = th.Client.GetRolesByNames([]string{model.NewId(), model.NewId()})
|
||||
CheckNoError(t, resp)
|
||||
|
||||
|
||||
@@ -1676,7 +1676,7 @@ func TestUpdateTeamMemberRoles(t *testing.T) {
|
||||
// Note from API v3
|
||||
// Note to anyone who thinks this (above) test is wrong:
|
||||
// This operation will not affect the system admin's permissions because they have global access to all teams.
|
||||
// Their team level permissions are irrelavent. A team admin should be able to manage team level permissions.
|
||||
// Their team level permissions are irrelevant. A team admin should be able to manage team level permissions.
|
||||
|
||||
// System admins should be able to manipulate permission no matter what their team level permissions are.
|
||||
// system admin promotes user 2
|
||||
|
||||
Ссылка в новой задаче
Block a user