mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 07:07:24 +00:00

# Which Problems Are Solved New integration tests can't use command side to simulate successful intents. # How the Problems Are Solved Add endpoints to only in integration tests available sink to create already successful intents. # Additional Changes None # Additional Context Closes #8557 --------- Co-authored-by: Livio Spring <livio.a@gmail.com>
12 lines
278 B
Go
12 lines
278 B
Go
//go:build !integration
|
|
|
|
package sink
|
|
|
|
import "github.com/zitadel/zitadel/internal/command"
|
|
|
|
// StartServer and its returned close function are a no-op
|
|
// when the `integration` build tag is disabled.
|
|
func StartServer(cmd *command.Commands) (close func()) {
|
|
return func() {}
|
|
}
|