diff --git a/services/filesstore/main_test.go b/services/filesstore/main_test.go deleted file mode 100644 index 8626388125..0000000000 --- a/services/filesstore/main_test.go +++ /dev/null @@ -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) -} diff --git a/services/httpservice/main_test.go b/services/httpservice/main_test.go deleted file mode 100644 index 8c03f5d7f2..0000000000 --- a/services/httpservice/main_test.go +++ /dev/null @@ -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) -} diff --git a/services/imageproxy/main_test.go b/services/imageproxy/main_test.go deleted file mode 100644 index 1726081f71..0000000000 --- a/services/imageproxy/main_test.go +++ /dev/null @@ -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) -} diff --git a/services/mailservice/main_test.go b/services/mailservice/main_test.go deleted file mode 100644 index ea6d186e0c..0000000000 --- a/services/mailservice/main_test.go +++ /dev/null @@ -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) -}