mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-16 13:15:24 +00:00
add github action for integration tests
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
//go:build integration
|
||||
|
||||
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, " "))
|
||||
s := NewTester(ctx)
|
||||
defer s.Done()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user