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.
forgejo/models/unittest
Lunny Xiao 91fa0eb9d7
Avoid warning for system setting when start up (#23054)
Partially fix #23050

After #22294 merged, it always has a warning log like `cannot get
context cache` when starting up. This should not affect any real life
but it's annoying. This PR will fix the problem. That means when
starting up, getting the system settings will not try from the cache but
will read from the database directly.

---------

Co-authored-by: Lauris BH <lauris@nix.lv>
1 year ago
..
consistency.go Implement FSFE REUSE for golang files (#21840) 1 year ago
fixtures.go Make CI use a dummy password hasher for all tests (#22983) 1 year ago
fscopy.go Use ErrInvalidArgument in packages (#22268) 1 year ago
reflection.go Implement FSFE REUSE for golang files (#21840) 1 year ago
testdb.go Avoid warning for system setting when start up (#23054) 1 year ago
unit_tests.go Implement FSFE REUSE for golang files (#21840) 1 year ago