mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-19 17:48:43 +02:00
chore: correctly prepare test env (#8686)
- Ref forgejo/forgejo#8681 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8686 Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz>
This commit is contained in:
parent
d22f9d1f38
commit
ee35b617b7
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ func TestPullCombinedReviewRequest(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestShowMergeForManualMerge(t *testing.T) {
|
func TestShowMergeForManualMerge(t *testing.T) {
|
||||||
defer tests.PrintCurrentTest(t)()
|
defer tests.PrepareTestEnv(t)()
|
||||||
|
|
||||||
// Only allow manual merge strategy for this repository.
|
// Only allow manual merge strategy for this repository.
|
||||||
pullRepoUnit := unittest.AssertExistsAndLoadBean(t, &repo_model.RepoUnit{ID: 5, RepoID: 1, Type: unit.TypePullRequests})
|
pullRepoUnit := unittest.AssertExistsAndLoadBean(t, &repo_model.RepoUnit{ID: 5, RepoID: 1, Type: unit.TypePullRequests})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue