mirror of https://github.com/go-gitea/gitea.git
21 lines
455 B
Go
21 lines
455 B
Go
// Copyright 2024 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package markup_test
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"code.gitea.io/gitea/modules/markup"
|
|
"code.gitea.io/gitea/modules/setting"
|
|
"code.gitea.io/gitea/tests/env"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
env.Filter([]string{"GITEA_TEST_"}, []string{"GITEA_"})
|
|
setting.IsInTesting = true
|
|
markup.RenderBehaviorForTesting.DisableAdditionalAttributes = true
|
|
os.Exit(m.Run())
|
|
}
|