You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/unittest
wxiaoguang 34dfc25b83
Make git clone URL could use current signed-in user (#33091)
close #33086

* Add a special value for "SSH_USER" setting: `(DOER_USERNAME)`
* Improve parseRepositoryURL and add tests (now it doesn't have hard
dependency on some setting values)

Many changes are just adding "ctx" and "doer" argument to functions.

By the way, improve app.example.ini, remove all `%(key)s` syntax, it
only makes messy and no user really cares about it.

Document: https://gitea.com/gitea/docs/pulls/138
4 weeks ago
..
consistency.go Replace assert.Fail with assert.FailNow (#27578) 1 year ago
fixtures.go Refactor fixture loading for testing (#33024) 1 month ago
fixtures_loader.go Refactor fixture loading for testing (#33024) 1 month ago
fixtures_test.go Refactor fixture loading for testing (#33024) 1 month ago
fscopy.go Fix unittest and repo create bug (#33061) 1 month ago
reflection.go Refactor tests (#33021) 1 month ago
testdb.go Make git clone URL could use current signed-in user (#33091) 4 weeks ago
unit_tests.go Refactor tests (#33021) 1 month ago