Use gitea forked macaron (#7933)

Signed-off-by: Tamal Saha <tamal@appscode.com>
This commit is contained in:
Tamal Saha 2019-08-23 09:40:30 -07:00 committed by techknowlogick
parent ca6fb004ac
commit 171b359877
408 changed files with 14882 additions and 13217 deletions

View file

@ -9,7 +9,7 @@ import (
"regexp"
"strings"
"github.com/go-macaron/binding"
"gitea.com/macaron/binding"
)
const (

View file

@ -9,9 +9,9 @@ import (
"net/http/httptest"
"testing"
"github.com/go-macaron/binding"
"gitea.com/macaron/binding"
"gitea.com/macaron/macaron"
"github.com/stretchr/testify/assert"
"gopkg.in/macaron.v1"
)
const (

View file

@ -7,9 +7,9 @@ package validation
import (
"testing"
"github.com/stretchr/testify/assert"
"code.gitea.io/gitea/modules/setting"
"github.com/stretchr/testify/assert"
)
func Test_IsValidURL(t *testing.T) {

View file

@ -7,7 +7,7 @@ package validation
import (
"testing"
"github.com/go-macaron/binding"
"gitea.com/macaron/binding"
)
var gitRefNameValidationTestCases = []validationTestCase{

View file

@ -7,7 +7,7 @@ package validation
import (
"testing"
"github.com/go-macaron/binding"
"gitea.com/macaron/binding"
)
var urlValidationTestCases = []validationTestCase{