We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734b4a1 commit 9786720Copy full SHA for 9786720
tests/integration/mirror_push_test.go
@@ -130,11 +130,11 @@ func TestRepoSettingPushMirror(t *testing.T) {
130
repoPrefix := "/user2/repo2"
131
repo2 := unittest.AssertExistsAndLoadBean(t, &repo_model.Repository{ID: 2})
132
133
- defer test.MockVariableValue(&setting.Migrations.AllowedDomains, "127.0.0.1")()
134
- assert.NoError(t, migrations.Init())
135
defer func() {
136
migrations.Init()
137
}()
+ defer test.MockVariableValue(&setting.Migrations.AllowedDomains, "127.0.0.1")()
+ assert.NoError(t, migrations.Init())
138
139
// visit repository setting page
140
req := NewRequest(t, "GET", repoPrefix+"/settings")
0 commit comments