mirror of
https://github.com/go-gitea/gitea
synced 2024-06-17 00:35:46 +00:00
Fix test
This commit is contained in:
parent
f8d57dcfa0
commit
05674f7a38
|
@ -11,12 +11,16 @@ import (
|
|||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func Test_AddConfidentialClientColumnToOAuth2ApplicationTable(t *testing.T) {
|
||||
// premigration
|
||||
type OAuth2Application struct {
|
||||
ID int64
|
||||
}
|
||||
|
||||
func (OAuth2Application) TableName() string {
|
||||
return "oauth2_application"
|
||||
}
|
||||
|
||||
func Test_AddConfidentialClientColumnToOAuth2ApplicationTable(t *testing.T) {
|
||||
// Prepare and load the testing database
|
||||
x, deferable := base.PrepareTestEnv(t, 0, new(OAuth2Application))
|
||||
defer deferable()
|
||||
|
|
Loading…
Reference in New Issue
Block a user