diff options
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 { |