From 3ed4a71a4c78ab559c3c7b8374ba302367fb0825 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Fri, 25 Mar 2022 11:53:16 -0500 Subject: [PATCH] Rename hack_16834 to user_settings Signed-off-by: Anthony Wang --- modules/activitypub/{hack_16834.go => user_settings.go} | 0 .../activitypub/{hack_16834_test.go => user_settings_test.go} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename modules/activitypub/{hack_16834.go => user_settings.go} (100%) rename modules/activitypub/{hack_16834_test.go => user_settings_test.go} (95%) diff --git a/modules/activitypub/hack_16834.go b/modules/activitypub/user_settings.go similarity index 100% rename from modules/activitypub/hack_16834.go rename to modules/activitypub/user_settings.go diff --git a/modules/activitypub/hack_16834_test.go b/modules/activitypub/user_settings_test.go similarity index 95% rename from modules/activitypub/hack_16834_test.go rename to modules/activitypub/user_settings_test.go index 76892a410a..90c6f680f9 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)