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:
parent
46973f99fa
commit
3ed4a71a4c
@ -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)
|
Loading…
Reference in New Issue
Block a user