Skip to content

Commit 2532c60

Browse files
committed
Use tests/integration for now
1 parent 175267d commit 2532c60

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ lint:
6969
.PHONY: integration-test
7070
integration-test: TAGS=bindata sqlite
7171
integration-test: build
72-
go test code.gitea.io/gitea/integration-tests
72+
go test code.gitea.io/gitea/tests/integration
7373

7474
.PHONY: test
7575
test:

integration-tests/install_test.go renamed to tests/integration/install_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a MIT-style
33
// license that can be found in the LICENSE file.
44

5-
package tests
5+
package integration
66

77
import (
88
"fmt"
@@ -13,7 +13,7 @@ import (
1313
"testing"
1414
"time"
1515

16-
"code.gitea.io/gitea/tests/internal/utils"
16+
"code.gitea.io/gitea/tests/integration/internal/utils"
1717
)
1818

1919
// The HTTP port listened by the Gitea server.
@@ -82,7 +82,7 @@ func install(t *utils.T) error {
8282

8383
func TestInstall(t *testing.T) {
8484
conf := utils.Config{
85-
Program: "../gitea",
85+
Program: "../../gitea",
8686
WorkDir: "",
8787
Args: []string{"web", "--port", ServerHTTPPort},
8888
LogFile: os.Stderr,

integration-tests/version_test.go renamed to tests/integration/version_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a MIT-style
33
// license that can be found in the LICENSE file.
44

5-
package tests
5+
package integration
66

77
import (
88
"bytes"
@@ -16,7 +16,7 @@ import (
1616
"strings"
1717
"testing"
1818

19-
"code.gitea.io/gitea/tests/internal/utils"
19+
"code.gitea.io/gitea/tests/integration/internal/utils"
2020

2121
"github.com/stretchr/testify/assert"
2222
)
@@ -65,7 +65,7 @@ func version(t *utils.T) error {
6565

6666
func TestVersion(t *testing.T) {
6767
conf := utils.Config{
68-
Program: "../gitea",
68+
Program: "../../gitea",
6969
WorkDir: "",
7070
Args: []string{"web", "--port", ServerHTTPPort},
7171
LogFile: os.Stderr,

0 commit comments

Comments
 (0)