summaryrefslogtreecommitdiff
path: root/internal/api/client/account/accountverify_test.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-24 18:11:38 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-24 18:11:38 +0100
commit8e6ba1de5228f999830416667124867983e4721b (patch)
tree282439befe518c4d4fba79c6401e2220a4284138 /internal/api/client/account/accountverify_test.go
parenttest with disk storage as well (diff)
downloadgotosocial-8e6ba1de5228f999830416667124867983e4721b.tar.xz
start trying to figure out why this test is failing
Diffstat (limited to 'internal/api/client/account/accountverify_test.go')
-rw-r--r--internal/api/client/account/accountverify_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/client/account/accountverify_test.go b/internal/api/client/account/accountverify_test.go
index 702eb0836..1b5989704 100644
--- a/internal/api/client/account/accountverify_test.go
+++ b/internal/api/client/account/accountverify_test.go
@@ -42,7 +42,7 @@ func (suite *AccountVerifyTestSuite) TestAccountVerifyGet() {
// set up the request
recorder := httptest.NewRecorder()
- ctx := suite.newContext(recorder, http.MethodPatch, nil, account.UpdateCredentialsPath, "")
+ ctx := suite.newContext(recorder, http.MethodGet, nil, account.VerifyPath, "")
// call the handler
suite.accountModule.AccountVerifyGETHandler(ctx)
@@ -67,7 +67,7 @@ func (suite *AccountVerifyTestSuite) TestAccountVerifyGet() {
suite.NoError(err)
lastStatusAt, err := time.Parse(time.RFC3339, apimodelAccount.LastStatusAt)
suite.NoError(err)
-
+aaaaaaaaaaaaaaaaaaa
suite.Equal(testAccount.ID, apimodelAccount.ID)
suite.Equal(testAccount.Username, apimodelAccount.Username)
suite.Equal(testAccount.Username, apimodelAccount.Acct)