From f5eb3c1bcb0c7e367f64bd8e5a0d2d5418f8e2ef Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Wed, 20 Jan 2016 07:59:56 -0600 Subject: PLT-7 adding loc for db calls audits and prefs --- api/post_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/post_test.go') diff --git a/api/post_test.go b/api/post_test.go index a0b8cc9bd..fc98333a8 100644 --- a/api/post_test.go +++ b/api/post_test.go @@ -837,7 +837,7 @@ func TestMakeDirectChannelVisible(t *testing.T) { channel := Client.Must(Client.CreateDirectChannel(map[string]string{"user_id": user2.Id})).Data.(*model.Channel) - makeDirectChannelVisible(team.Id, channel.Id) + makeDirectChannelVisible(utils.T, team.Id, channel.Id) if result, err := Client.GetPreference(model.PREFERENCE_CATEGORY_DIRECT_CHANNEL_SHOW, user2.Id); err != nil { t.Fatal("Errored trying to set direct channel to be visible for user1") -- cgit v1.2.3-1-g7c22