messing about with decoding/encoding

This commit is contained in:
tsmethurst 2021-09-07 11:43:47 +02:00
commit 3641d47e7e
22 changed files with 2276 additions and 32 deletions

View file

@ -19,6 +19,7 @@
package trans_test
import (
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/suite"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/testrig"
@ -26,11 +27,13 @@ import (
type TransTestSuite struct {
suite.Suite
db db.DB
db db.DB
log *logrus.Logger
}
func (suite *TransTestSuite) SetupTest() {
suite.db = testrig.NewTestDB()
suite.log = testrig.NewTestLog()
testrig.StandardDBSetup(suite.db, nil)
}