mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-16 01:33:27 +00:00
simple test of a health endpoint
This commit is contained in:
18
internal/integration/integration_test.go
Normal file
18
internal/integration/integration_test.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package integration
|
||||
|
||||
import (
|
||||
"context"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
const commandLine = `start-from-init --masterkey MasterkeyNeedsToHave32Characters --tlsMode disabled --config ../../e2e/config/localhost/zitadel.yaml --steps ../../e2e/config/localhost/zitadel.yaml`
|
||||
|
||||
func TestNewTester(t *testing.T) {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
||||
defer cancel()
|
||||
|
||||
s := NewTester(ctx, strings.Split(commandLine, " "))
|
||||
defer s.Done()
|
||||
}
|
||||
Reference in New Issue
Block a user