mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-01 06:26:16 -06:00
go fmt
This commit is contained in:
parent
cff5844225
commit
d6cc79ba97
2 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ func (suite *ChangePasswordTestSuite) TestChangePasswordOK() {
|
|||
|
||||
errWithCode := suite.user.ChangePassword(context.Background(), user, "password", "verygoodnewpassword")
|
||||
suite.NoError(errWithCode)
|
||||
|
||||
|
||||
err := bcrypt.CompareHashAndPassword([]byte(user.EncryptedPassword), []byte("verygoodnewpassword"))
|
||||
suite.NoError(err)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue