1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-03 16:54:25 +00:00

Rename hack_16834 to user_settings

Signed-off-by: Anthony Wang <ta180m@pm.me>
This commit is contained in:
Anthony Wang 2022-03-25 11:53:16 -05:00
parent 46973f99fa
commit 3ed4a71a4c
No known key found for this signature in database
GPG Key ID: BC96B00AEC5F2D76
2 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )
func TestHack16834(t *testing.T) { func TestUserSettings(t *testing.T) {
assert.NoError(t, unittest.PrepareTestDatabase()) assert.NoError(t, unittest.PrepareTestDatabase())
user1 := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 1}).(*user_model.User) user1 := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 1}).(*user_model.User)
pub, priv, err := GetKeyPair(user1) pub, priv, err := GetKeyPair(user1)