refactor: reorganize integration tests
Move integration-appropriate tests from tests/unit/ to tests/integration/: - tests/unit/simple_test.go -> tests/integration/simple_test.go - tests/unit/deployments/traefik_compose_test.go -> tests/integration/traefik_compose_test.go - tests/unit/worker_trust_test.go -> tests/integration/worker_trust_test.go Update test package declarations and imports to reflect new locations. These tests were misplaced in the unit tests directory but actually test integration between components or external systems (Traefik, worker trust).
This commit is contained in:
parent
61660dc925
commit
7ff2c6c487
3 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package unit
|
||||
package tests
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package deployments
|
||||
package tests
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
|
@ -18,7 +18,7 @@ func repoRoot(t *testing.T) string {
|
|||
t.Fatalf("failed to resolve caller path")
|
||||
}
|
||||
|
||||
return filepath.Clean(filepath.Join(filepath.Dir(filename), "..", "..", ".."))
|
||||
return filepath.Clean(filepath.Join(filepath.Dir(filename), "..", ".."))
|
||||
}
|
||||
|
||||
func asMap(t *testing.T, v any) map[string]any {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package unit
|
||||
package tests
|
||||
|
||||
import (
|
||||
"os"
|
||||
Loading…
Reference in a new issue