Fix tests further further

This commit is contained in:
Xavi Lacasa
2024-01-25 15:04:43 +01:00
committed by github-actions[bot]
parent 508629460b
commit 9d666d633e
@@ -99,7 +99,7 @@ func TestIntegrationTempUserCommandsAndQueries(t *testing.T) {
InvitedByUserID: userID,
}
db := db.InitTestDB(t)
store = &xormStore{db: db, cfg: db.Cfg}
store = &xormStore{db: db}
for i := 0; i < verifications; i++ {
tempUser, err = store.CreateTempUser(context.Background(), &cmd)
@@ -139,7 +139,7 @@ func TestIntegrationTempUserCommandsAndQueries(t *testing.T) {
InvitedByUserID: 99,
}
db := db.InitTestDB(t)
store = &xormStore{db: db, cfg: db.Cfg}
store = &xormStore{db: db}
tempUser, err = store.CreateTempUser(context.Background(), &cmd)
require.Nil(t, err)