mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Use a struct as test options (#19393)
* Use a struct as test options * Fix name * Fix test
This commit is contained in:
parent
4dabc212c7
commit
b8911fb456
40 changed files with 210 additions and 100 deletions
|
@ -20,7 +20,9 @@ import (
|
|||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
unittest.MainTest(m, filepath.Join("..", ".."))
|
||||
unittest.MainTest(m, &unittest.TestOptions{
|
||||
GiteaRootPath: filepath.Join("..", ".."),
|
||||
})
|
||||
}
|
||||
|
||||
func TestWikiNameToSubURL(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue