mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-11 04:11:18 +01:00
Lift test env prep one up
This commit is contained in:
parent
72f2f35bd8
commit
69e79e50c2
1 changed files with 1 additions and 1 deletions
|
@ -268,9 +268,9 @@ func TestProtectedBranch(t *testing.T) {
|
||||||
|
|
||||||
func TestRepoFollowing(t *testing.T) {
|
func TestRepoFollowing(t *testing.T) {
|
||||||
setting.Federation.Enabled = true
|
setting.Federation.Enabled = true
|
||||||
|
defer tests.PrepareTestEnv(t)()
|
||||||
defer func() {
|
defer func() {
|
||||||
setting.Federation.Enabled = false
|
setting.Federation.Enabled = false
|
||||||
tests.PrepareTestEnv(t)()
|
|
||||||
}()
|
}()
|
||||||
|
|
||||||
federatedRoutes := http.NewServeMux()
|
federatedRoutes := http.NewServeMux()
|
||||||
|
|
Loading…
Reference in a new issue