mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-15 08:57:29 -06:00
[bugfix] fix get all tokens (#2841)
This commit is contained in:
parent
3cceed11b2
commit
6de5717d7f
2 changed files with 9 additions and 1 deletions
|
|
@ -123,6 +123,14 @@ func (suite *ApplicationTestSuite) TestDeleteApplicationBy() {
|
|||
}
|
||||
}
|
||||
|
||||
func (suite *ApplicationTestSuite) TestGetAllTokens() {
|
||||
tokens, err := suite.db.GetAllTokens(context.Background())
|
||||
if err != nil {
|
||||
suite.FailNow(err.Error())
|
||||
}
|
||||
suite.NotEmpty(tokens)
|
||||
}
|
||||
|
||||
func TestApplicationTestSuite(t *testing.T) {
|
||||
suite.Run(t, new(ApplicationTestSuite))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue