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.
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
1 month ago
..
consistency.go Replace assert.Fail with assert.FailNow (#27578) 8 months ago
fixtures.go Enable forbidigo linter (#24278) 1 year ago
fscopy.go Use ErrInvalidArgument in packages (#22268) 1 year ago
reflection.go Replace `interface{}` with `any` (#25686) 11 months ago
testdb.go Add some tests to clarify the "must-change-password" behavior (#30693) 1 month ago
unit_tests.go Workaround to clean up old reviews on creating a new one (#28554) 3 months ago