mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-03 21:58:46 +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
2 changed files with 1 additions and 1 deletions
|
@ -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 a new issue