0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-18 19:39:33 +01:00
gitea/tests
Rowan Bohde a03fdd9566
Avoid MacOS keychain dialog in integration tests (#32813)
Mac's git installation ships with a system wide config that configures
the credential helper `osxkeychain`, which will prompt the user with a
dialog.

```
$ git config list --system 
credential.helper=osxkeychain
```
By setting the environment variable
[`GIT_CONFIG_NOSYSTEM=true`](https://git-scm.com/docs/git-config#ENVIRONMENT),
Git will not load the system wide config, preventing the dialog from
populating.

Closes #26717
2024-12-12 21:10:47 +00:00
..
e2e
fuzz
gitea-lfs-meta
gitea-repositories-meta Use batch database operations instead of one by one to optimze api pulls (#32680) 2024-12-11 05:15:06 +08:00
integration Avoid MacOS keychain dialog in integration tests (#32813) 2024-12-12 21:10:47 +00:00
testdata/data
mssql.ini.tmpl
mysql.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go