Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00

Lift test env prep one up

This commit is contained in:
erik 2024-05-28 12:36:34 +02:00
parent 72f2f35bd8
commit 69e79e50c2

View file

@ -268,9 +268,9 @@ func TestProtectedBranch(t *testing.T) {
func TestRepoFollowing(t *testing.T) {
setting.Federation.Enabled = true
defer tests.PrepareTestEnv(t)()
defer func() {
setting.Federation.Enabled = false
tests.PrepareTestEnv(t)()
}()
federatedRoutes := http.NewServeMux()