diff options
author | 2021-09-04 13:29:56 +0200 | |
---|---|---|
committer | 2021-09-04 13:29:56 +0200 | |
commit | ff05046df7c0ce21f70b0dd8dce59dd5e01771de (patch) | |
tree | 227720dc9ca30da106e508108eba08426e8bd2ee /internal/db/bundb/relationship_test.go | |
parent | Merge pull request #186 from superseriousbusiness/struct_validation (diff) | |
download | gotosocial-ff05046df7c0ce21f70b0dd8dce59dd5e01771de.tar.xz |
tests + announce notification fix (#193)
Diffstat (limited to 'internal/db/bundb/relationship_test.go')
-rw-r--r-- | internal/db/bundb/relationship_test.go | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/internal/db/bundb/relationship_test.go b/internal/db/bundb/relationship_test.go index dcc71b37c..0a38462d2 100644 --- a/internal/db/bundb/relationship_test.go +++ b/internal/db/bundb/relationship_test.go @@ -25,37 +25,12 @@ import ( "github.com/stretchr/testify/suite" "github.com/superseriousbusiness/gotosocial/internal/db" - "github.com/superseriousbusiness/gotosocial/testrig" ) type RelationshipTestSuite struct { BunDBStandardTestSuite } -func (suite *RelationshipTestSuite) SetupSuite() { - suite.testTokens = testrig.NewTestTokens() - suite.testClients = testrig.NewTestClients() - suite.testApplications = testrig.NewTestApplications() - suite.testUsers = testrig.NewTestUsers() - suite.testAccounts = testrig.NewTestAccounts() - suite.testAttachments = testrig.NewTestAttachments() - suite.testStatuses = testrig.NewTestStatuses() - suite.testTags = testrig.NewTestTags() - suite.testMentions = testrig.NewTestMentions() -} - -func (suite *RelationshipTestSuite) SetupTest() { - suite.config = testrig.NewTestConfig() - suite.db = testrig.NewTestDB() - suite.log = testrig.NewTestLog() - - testrig.StandardDBSetup(suite.db, suite.testAccounts) -} - -func (suite *RelationshipTestSuite) TearDownTest() { - testrig.StandardDBTeardown(suite.db) -} - func (suite *RelationshipTestSuite) TestIsBlocked() { suite.Suite.T().Skip("TODO: implement") } |