mirror of
1
Fork 0

start trying to figure out why this test is failing

This commit is contained in:
tsmethurst 2022-01-24 18:11:38 +01:00
parent 0e7f24ff26
commit 8e6ba1de52
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ func (suite *AccountVerifyTestSuite) TestAccountVerifyGet() {
// set up the request // set up the request
recorder := httptest.NewRecorder() recorder := httptest.NewRecorder()
ctx := suite.newContext(recorder, http.MethodPatch, nil, account.UpdateCredentialsPath, "") ctx := suite.newContext(recorder, http.MethodGet, nil, account.VerifyPath, "")
// call the handler // call the handler
suite.accountModule.AccountVerifyGETHandler(ctx) suite.accountModule.AccountVerifyGETHandler(ctx)
@ -67,7 +67,7 @@ func (suite *AccountVerifyTestSuite) TestAccountVerifyGet() {
suite.NoError(err) suite.NoError(err)
lastStatusAt, err := time.Parse(time.RFC3339, apimodelAccount.LastStatusAt) lastStatusAt, err := time.Parse(time.RFC3339, apimodelAccount.LastStatusAt)
suite.NoError(err) suite.NoError(err)
aaaaaaaaaaaaaaaaaaa
suite.Equal(testAccount.ID, apimodelAccount.ID) suite.Equal(testAccount.ID, apimodelAccount.ID)
suite.Equal(testAccount.Username, apimodelAccount.Username) suite.Equal(testAccount.Username, apimodelAccount.Username)
suite.Equal(testAccount.Username, apimodelAccount.Acct) suite.Equal(testAccount.Username, apimodelAccount.Acct)