0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-12 12:21:43 +01:00
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
fscopy.go
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