diff options
Diffstat (limited to 'internal/processing/stream')
-rw-r--r-- | internal/processing/stream/authorize_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/processing/stream/authorize_test.go b/internal/processing/stream/authorize_test.go index b2c98c5f1..cb91d5b30 100644 --- a/internal/processing/stream/authorize_test.go +++ b/internal/processing/stream/authorize_test.go @@ -22,6 +22,7 @@ import ( "testing" "github.com/stretchr/testify/suite" + "github.com/superseriousbusiness/gotosocial/internal/db" ) type AuthorizeTestSuite struct { @@ -38,7 +39,7 @@ func (suite *AuthorizeTestSuite) TestAuthorize() { suite.Equal(suite.testAccounts["local_account_2"].ID, account2.ID) noAccount, err := suite.streamProcessor.Authorize(context.Background(), "aaaaaaaaaaaaaaaaaaaaa!!") - suite.EqualError(err, "could not load access token: no entries") + suite.EqualError(err, "could not load access token: "+db.ErrNoEntries.Error()) suite.Nil(noAccount) } |