aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2022-03-25 11:53:16 -0500
committerAnthony Wang2022-03-25 11:53:16 -0500
commit3ed4a71a4c78ab559c3c7b8374ba302367fb0825 (patch)
tree7c5d8c1a039e2908f812c5fc69e14401deb466ab
parent46973f99fac0febd73d04b7a3d8030740a28dc70 (diff)
Rename hack_16834 to user_settings
Signed-off-by: Anthony Wang <ta180m@pm.me>
-rw-r--r--modules/activitypub/user_settings.go (renamed from modules/activitypub/hack_16834.go)0
-rw-r--r--modules/activitypub/user_settings_test.go (renamed from modules/activitypub/hack_16834_test.go)2
2 files changed, 1 insertions, 1 deletions
diff --git a/modules/activitypub/hack_16834.go b/modules/activitypub/user_settings.go
index 553ea535f..553ea535f 100644
--- a/modules/activitypub/hack_16834.go
+++ b/modules/activitypub/user_settings.go
diff --git a/modules/activitypub/hack_16834_test.go b/modules/activitypub/user_settings_test.go
index 76892a410..90c6f680f 100644
--- a/modules/activitypub/hack_16834_test.go
+++ b/modules/activitypub/user_settings_test.go
@@ -15,7 +15,7 @@ import (
"github.com/stretchr/testify/assert"
)
-func TestHack16834(t *testing.T) {
+func TestUserSettings(t *testing.T) {
assert.NoError(t, unittest.PrepareTestDatabase())
user1 := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 1}).(*user_model.User)
pub, priv, err := GetKeyPair(user1)