1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/models/unittest
wxiaoguang d3cdef88ad
Add some tests to clarify the "must-change-password" behavior ()
Follow  :

When a user is created by command line `./gitea admin user create`:

Old behavior before : the first user (admin or non-admin) doesn't
need to change password.

Revert to the old behavior before 
2024-04-27 12:23:37 +00:00
..
consistency.go Replace assert.Fail with assert.FailNow () 2023-10-11 11:02:24 +00:00
fixtures.go Enable forbidigo linter () 2023-04-24 05:50:58 -04:00
fscopy.go Use ErrInvalidArgument in packages () 2022-12-31 12:49:37 +01:00
reflection.go Replace interface{} with any () 2023-07-04 18:36:08 +00:00
testdb.go Add some tests to clarify the "must-change-password" behavior () 2024-04-27 12:23:37 +00:00
unit_tests.go Workaround to clean up old reviews on creating a new one () 2024-02-19 14:42:18 +01:00