Skip to content

Commit 3430d3a

Browse files
committed
tests/integration -> integrations
Slightly flattened directory hierarchy is better.
1 parent 2532c60 commit 3430d3a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"testing"
1414
"time"
1515

16-
"code.gitea.io/gitea/tests/integration/internal/utils"
16+
"code.gitea.io/gitea/integrations/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,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"strings"
1717
"testing"
1818

19-
"code.gitea.io/gitea/tests/integration/internal/utils"
19+
"code.gitea.io/gitea/integrations/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)