From aee1932bd45aacf4790e1e3a307c01249558c99e Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 13 Nov 2021 17:30:01 +0100 Subject: First db migration (#297) * store first db schema * md linting *screams* --- internal/api/client/auth/auth_test.go | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'internal/api/client/auth/auth_test.go') 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 { -- cgit v1.2.3