diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-07-16 15:49:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 15:49:26 -0400 |
commit | 275731578e72d2c6e12cfb2fc315d3446474faec (patch) | |
tree | 25df7525ed2244c7dec5be44495b45ffc0ae1023 /app/auto_responder_test.go | |
parent | 88eef609ab712097ff2b13a2ca45c31ea6fa7df2 (diff) | |
download | chat-275731578e72d2c6e12cfb2fc315d3446474faec.tar.gz chat-275731578e72d2c6e12cfb2fc315d3446474faec.tar.bz2 chat-275731578e72d2c6e12cfb2fc315d3446474faec.zip |
MM-10254 Add plugin APIs for getting/updating user statuses (#9101)
* Add plugin APIs for getting/updating user statuses
* Add and update tests
* Updates per feedback
Diffstat (limited to 'app/auto_responder_test.go')
-rw-r--r-- | app/auto_responder_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/auto_responder_test.go b/app/auto_responder_test.go index 65b466c92..f78bbc669 100644 --- a/app/auto_responder_test.go +++ b/app/auto_responder_test.go @@ -18,7 +18,7 @@ func TestSetAutoResponderStatus(t *testing.T) { user := th.CreateUser() defer th.App.PermanentDeleteUser(user) - th.App.SetStatusOnline(user.Id, "", true) + th.App.SetStatusOnline(user.Id, true) patch := &model.UserPatch{} patch.NotifyProps = make(map[string]string) @@ -57,7 +57,7 @@ func TestDisableAutoResponder(t *testing.T) { user := th.CreateUser() defer th.App.PermanentDeleteUser(user) - th.App.SetStatusOnline(user.Id, "", true) + th.App.SetStatusOnline(user.Id, true) patch := &model.UserPatch{} patch.NotifyProps = make(map[string]string) |