summaryrefslogtreecommitdiffstats
path: root/api4/reaction_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/reaction_test.go')
-rw-r--r--api4/reaction_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api4/reaction_test.go b/api4/reaction_test.go
index dda9a578a..ca2c49808 100644
--- a/api4/reaction_test.go
+++ b/api4/reaction_test.go
@@ -176,7 +176,7 @@ func TestSaveReaction(t *testing.T) {
t.Run("unable-to-react-in-read-only-town-square", func(t *testing.T) {
th.LoginBasic()
- channel, err := th.App.GetChannelByName("town-square", th.BasicTeam.Id)
+ channel, err := th.App.GetChannelByName("town-square", th.BasicTeam.Id, true)
assert.Nil(t, err)
post := th.CreatePostWithClient(th.Client, channel)
@@ -482,7 +482,7 @@ func TestDeleteReaction(t *testing.T) {
t.Run("unable-to-delete-reactions-in-read-only-town-square", func(t *testing.T) {
th.LoginBasic()
- channel, err := th.App.GetChannelByName("town-square", th.BasicTeam.Id)
+ channel, err := th.App.GetChannelByName("town-square", th.BasicTeam.Id, true)
assert.Nil(t, err)
post := th.CreatePostWithClient(th.Client, channel)