From 36deaf6ae05bd7e8002c8b018bf1cc60dff321e5 Mon Sep 17 00:00:00 2001 From: oliverpool Date: Sat, 13 Jun 2026 03:46:44 +0200 Subject: [PATCH] fix(comment): RunMainAppWithStdin is the right name to search for (#13071) Typos that slipped in https://codeberg.org/forgejo/forgejo/pulls/12855#issuecomment-17336144 (thanks @clouds666 ### Documentation - [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change. - [x] I did not document these changes and I do not expect someone else to do it. ### Release notes - [ ] This change will be noticed by a Forgejo user or admin (feature, bug fix, performance, etc.). I suggest to include a release note for this change. - [x] This change is not visible to a Forgejo user or admin (refactor, dependency upgrade, etc.). I think there is no need to add a release note for this change. *The decision if the pull request will be shown in the release notes is up to the mergers / release team.* The content of the `release-notes/.md` file will serve as the basis for the release notes. If the file does not exist, the title of the pull request will be used instead. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13071 Reviewed-by: Clouds Reviewed-by: limiting-factor --- models/gitea_migrations/test/tests.go | 2 +- tests/integration/migration-test/migration_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/gitea_migrations/test/tests.go b/models/gitea_migrations/test/tests.go index 1ab945eb48..be23eb137f 100644 --- a/models/gitea_migrations/test/tests.go +++ b/models/gitea_migrations/test/tests.go @@ -125,7 +125,7 @@ func MainTest(m *testing.M) { os.Exit(1) } setting.AppWorkPath = giteaRoot - setting.AppPath = path.Join(giteaRoot, "gitea_migrations-should-not-need-a-binary") // use WrapMainAppPath if a binary is needed + setting.AppPath = path.Join(giteaRoot, "gitea_migrations-should-not-need-a-binary") // use RunMainAppWithStdin if a binary is needed giteaConf := os.Getenv("GITEA_CONF") if giteaConf == "" { diff --git a/tests/integration/migration-test/migration_test.go b/tests/integration/migration-test/migration_test.go index b6b7329212..606fb7c589 100644 --- a/tests/integration/migration-test/migration_test.go +++ b/tests/integration/migration-test/migration_test.go @@ -51,7 +51,7 @@ func initMigrationTest(t *testing.T) func() { deferFn := tests.PrintCurrentTest(t, 2) root := getRoot(t) - setting.AppPath = path.Join(root, "migration-test-should-not-need-a-binary") // use WrapMainAppPath if a binary is needed + setting.AppPath = path.Join(root, "migration-test-should-not-need-a-binary") // use RunMainAppWithStdin if a binary is needed giteaConf := os.Getenv("GITEA_CONF") if giteaConf == "" {