Not skiping tests on commands, and removing unnecesary main_test.go files (#14032)

This commit is contained in:
Jesús Espino
2020-03-11 16:25:45 +01:00
committed by GitHub
parent 27d536b212
commit 7c3e651a7b
10 changed files with 6 additions and 155 deletions

View File

@@ -1,22 +0,0 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
package plugin_test
import (
"testing"
"github.com/mattermost/mattermost-server/v5/testlib"
)
var mainHelper *testlib.MainHelper
func TestMain(m *testing.M) {
var options = testlib.HelperOptions{
EnableResources: true,
}
mainHelper = testlib.NewMainHelperWithOptions(&options)
defer mainHelper.Close()
mainHelper.Main(m)
}