diff options
author | Vordimous <gsoi7vzireeyokoprf@thrott.com> | 2018-02-07 09:17:18 -0500 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2018-02-07 14:17:18 +0000 |
commit | 7bd298ceaa24c0721e0acd65692cb2d1ca4983f3 (patch) | |
tree | 870013c04c31b293e64404a8e74e16c2b1a94c33 /app/channel_test.go | |
parent | d3e934d07ac0a58a24a435ea7c5b3bd222ef509a (diff) | |
download | chat-7bd298ceaa24c0721e0acd65692cb2d1ca4983f3.tar.gz chat-7bd298ceaa24c0721e0acd65692cb2d1ca4983f3.tar.bz2 chat-7bd298ceaa24c0721e0acd65692cb2d1ca4983f3.zip |
PLT-7537: Move channel CLI command posts system message to channel. (#8161)
* [PTL-7537] implement feature and test
* [PTL-7537] Update feature to post the the room requiring a username flag to be used
* [PTL-7537] update tests with username
* update test to remove changes to the test helper struct
* use the basic team and user
Diffstat (limited to 'app/channel_test.go')
-rw-r--r-- | app/channel_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/channel_test.go b/app/channel_test.go index a414fbb35..d315fbae6 100644 --- a/app/channel_test.go +++ b/app/channel_test.go @@ -97,7 +97,7 @@ func TestMoveChannel(t *testing.T) { t.Fatal(err) } - if err := th.App.MoveChannel(targetTeam, channel1); err == nil { + if err := th.App.MoveChannel(targetTeam, channel1, th.BasicUser); err == nil { t.Fatal("Should have failed due to mismatched members.") } @@ -105,7 +105,7 @@ func TestMoveChannel(t *testing.T) { t.Fatal(err) } - if err := th.App.MoveChannel(targetTeam, channel1); err != nil { + if err := th.App.MoveChannel(targetTeam, channel1, th.BasicUser); err != nil { t.Fatal(err) } } |