- When running integration testing, the location of the function is logged, this is determined from the stack trace, to skip helper function, it must be given how many function to skip. - `PrepareTestEnv` calls `PrintCurrentTest` which does the determination of the location. `PrepareTestEnv` gave an skip number of `2` to account for itself and - Since https://github.com/go-gitea/gitea/pull/25330 `PrintCurrentTest` adds 1 to the skip number to account for itself. However `PrepareTestEnv` wasn't modified to account for that and thus the location of functions was printing the location of the testing.go in the Go standard library. - Regresion of https://github.com/go-gitea/gitea/pull/25330 |
||
---|---|---|
.. | ||
e2e | ||
fuzz | ||
gitea-lfs-meta | ||
gitea-repositories-meta | ||
integration | ||
mssql.ini.tmpl | ||
mysql.ini.tmpl | ||
mysql8.ini.tmpl | ||
pgsql.ini.tmpl | ||
sqlite.ini.tmpl | ||
test_utils.go |