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:
Jeremie Fraeys 2026-03-12 16:37:42 -04:00
parent 61660dc925
commit 7ff2c6c487
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
package unit
package tests
import (
"context"

View file

@ -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 {

View file

@ -1,4 +1,4 @@
package unit
package tests
import (
"os"