From 0a5f792d2d6ceaa6c9bdb3050acbc4050c0c02f5 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Wed, 12 Sep 2018 15:32:05 +0100 Subject: MM-11230: Make permissions checks in commands failsafe. (#9392) Also add additional unit tests to make sure the permissions tests are completely solid. --- app/command_channel_header_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app/command_channel_header_test.go') diff --git a/app/command_channel_header_test.go b/app/command_channel_header_test.go index 21735e044..99f3b0cc3 100644 --- a/app/command_channel_header_test.go +++ b/app/command_channel_header_test.go @@ -1,10 +1,14 @@ +// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. +// See License.txt for license information. + package app import ( "testing" - "github.com/mattermost/mattermost-server/model" "github.com/stretchr/testify/assert" + + "github.com/mattermost/mattermost-server/model" ) func TestHeaderProviderDoCommand(t *testing.T) { -- cgit v1.2.3-1-g7c22