simple test of a health endpoint

This commit is contained in:
Tim Möhlmann
2023-04-25 15:04:35 +03:00
parent e167365548
commit a22b58f1c0
6 changed files with 131 additions and 42 deletions

View 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()
}