Removing unnecesary main_test.go files (#13979)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
182c29b456
Коммит
bfde6d1f3e
@@ -1,19 +0,0 @@
|
|||||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
||||||
// See LICENSE.txt for license information.
|
|
||||||
|
|
||||||
package filesstore_test
|
|
||||||
|
|
||||||
import (
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/mattermost/mattermost-server/v5/testlib"
|
|
||||||
)
|
|
||||||
|
|
||||||
var mainHelper *testlib.MainHelper
|
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
|
||||||
mainHelper = testlib.NewMainHelperWithOptions(nil)
|
|
||||||
defer mainHelper.Close()
|
|
||||||
|
|
||||||
mainHelper.Main(m)
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
||||||
// See LICENSE.txt for license information.
|
|
||||||
|
|
||||||
package httpservice_test
|
|
||||||
|
|
||||||
import (
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/mattermost/mattermost-server/v5/testlib"
|
|
||||||
)
|
|
||||||
|
|
||||||
var mainHelper *testlib.MainHelper
|
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
|
||||||
mainHelper = testlib.NewMainHelperWithOptions(nil)
|
|
||||||
defer mainHelper.Close()
|
|
||||||
|
|
||||||
mainHelper.Main(m)
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
||||||
// See LICENSE.txt for license information.
|
|
||||||
|
|
||||||
package imageproxy_test
|
|
||||||
|
|
||||||
import (
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/mattermost/mattermost-server/v5/testlib"
|
|
||||||
)
|
|
||||||
|
|
||||||
var mainHelper *testlib.MainHelper
|
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
|
||||||
mainHelper = testlib.NewMainHelperWithOptions(nil)
|
|
||||||
defer mainHelper.Close()
|
|
||||||
|
|
||||||
mainHelper.Main(m)
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
||||||
// See LICENSE.txt for license information.
|
|
||||||
|
|
||||||
package mailservice_test
|
|
||||||
|
|
||||||
import (
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/mattermost/mattermost-server/v5/testlib"
|
|
||||||
)
|
|
||||||
|
|
||||||
var mainHelper *testlib.MainHelper
|
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
|
||||||
mainHelper = testlib.NewMainHelperWithOptions(nil)
|
|
||||||
defer mainHelper.Close()
|
|
||||||
|
|
||||||
mainHelper.Main(m)
|
|
||||||
}
|
|
||||||
Ссылка в новой задаче
Block a user