diff options
author | 2021-11-13 17:30:01 +0100 | |
---|---|---|
committer | 2021-11-13 17:30:01 +0100 | |
commit | aee1932bd45aacf4790e1e3a307c01249558c99e (patch) | |
tree | 5555ff46a7c7f0ea69fd2168d26476238a560433 /internal/api/client/auth/auth_test.go | |
parent | move to ssb gofed fork (#298) (diff) | |
download | gotosocial-aee1932bd45aacf4790e1e3a307c01249558c99e.tar.xz |
First db migration (#297)
* store first db schema
* md linting *screams*
Diffstat (limited to 'internal/api/client/auth/auth_test.go')
-rw-r--r-- | internal/api/client/auth/auth_test.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/internal/api/client/auth/auth_test.go b/internal/api/client/auth/auth_test.go index 59a8d7b16..ca606e8f2 100644 --- a/internal/api/client/auth/auth_test.go +++ b/internal/api/client/auth/auth_test.go @@ -109,21 +109,6 @@ func (suite *AuthTestSuite) SetupTest() { } suite.db = db - - models := []interface{}{ - >smodel.Client{}, - >smodel.Token{}, - >smodel.User{}, - >smodel.Account{}, - >smodel.Application{}, - } - - for _, m := range models { - if err := suite.db.CreateTable(context.Background(), m); err != nil { - logrus.Panicf("db connection error: %s", err) - } - } - suite.oauthServer = oauth.New(context.Background(), suite.db) if err := suite.db.Put(context.Background(), suite.testAccount); err != nil { |