mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 16:13:16 -06:00
messing about with decoding/encoding
This commit is contained in:
parent
2ec36349c7
commit
3641d47e7e
22 changed files with 2276 additions and 32 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue