This commit is contained in:
Lunny Xiao 2022-11-05 19:32:53 +08:00
parent 3e0eefce07
commit 398123b3a2
No known key found for this signature in database
GPG key ID: C3B7C91B632F738A
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,15 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package v1_19 // nolint
import (
"testing"
"code.gitea.io/gitea/models/migrations/base"
)
func TestMain(m *testing.M) {
base.MainTest(m)
}

View file

@ -16,7 +16,7 @@ import (
"github.com/stretchr/testify/assert"
)
func Test_addHeaderAuthorizationEncryptedColWebhook(t *testing.T) {
func Test_AddHeaderAuthorizationEncryptedColWebhook(t *testing.T) {
// Create Webhook table
type Webhook struct {
ID int64 `xorm:"pk autoincr"`