gitea/models/unittest
wxiaoguang d3cdef88ad
Add some tests to clarify the "must-change-password" behavior (#30693)
Follow  #30472:

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

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

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