diff options
author | 2021-08-25 15:34:33 +0200 | |
---|---|---|
committer | 2021-08-25 15:34:33 +0200 | |
commit | 2dc9fc1626507bb54417fc4a1920b847cafb27a2 (patch) | |
tree | 4ddeac479b923db38090aac8bd9209f3646851c1 /internal/typeutils/internaltoas_test.go | |
parent | Manually approves followers (#146) (diff) | |
download | gotosocial-2dc9fc1626507bb54417fc4a1920b847cafb27a2.tar.xz |
Pg to bun (#148)
* start moving to bun
* changing more stuff
* more
* and yet more
* tests passing
* seems stable now
* more big changes
* small fix
* little fixes
Diffstat (limited to 'internal/typeutils/internaltoas_test.go')
-rw-r--r-- | internal/typeutils/internaltoas_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/typeutils/internaltoas_test.go b/internal/typeutils/internaltoas_test.go index caa56ce0d..46f04df2f 100644 --- a/internal/typeutils/internaltoas_test.go +++ b/internal/typeutils/internaltoas_test.go @@ -19,6 +19,7 @@ package typeutils_test import ( + "context" "encoding/json" "fmt" "testing" @@ -58,7 +59,7 @@ func (suite *InternalToASTestSuite) TearDownTest() { func (suite *InternalToASTestSuite) TestAccountToAS() { testAccount := suite.accounts["local_account_1"] // take zork for this test - asPerson, err := suite.typeconverter.AccountToAS(testAccount) + asPerson, err := suite.typeconverter.AccountToAS(context.Background(), testAccount) assert.NoError(suite.T(), err) ser, err := streams.Serialize(asPerson) |