mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
- Merge krakend-ce v2.12.1 Go source into gateway repo - Rename module to github.com/hanzoai/gateway/v2 - Remove upstream usage telemetry (no phoning home) - Multi-stage Dockerfile: build Go binary from source + bake config - Update k8s deployments to use registry.hanzo.ai/gateway images - Add imagePullSecrets for private registry auth - Combined Makefile with build + deploy targets - Zero upstream Docker image dependencies (supply chain security)
24 lines
347 B
Go
24 lines
347 B
Go
package tests
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestNewIntegration(t *testing.T) {
|
|
runner, tcs, err := NewIntegration(nil, nil, nil)
|
|
if err != nil {
|
|
t.Error(err)
|
|
return
|
|
}
|
|
defer runner.Close()
|
|
|
|
for _, tc := range tcs {
|
|
tc := tc
|
|
t.Run(tc.Name, func(t *testing.T) {
|
|
if err := runner.Check(tc); err != nil {
|
|
t.Error(err)
|
|
}
|
|
})
|
|
}
|
|
}
|