3
0
corteza/compose/compose_test.go
2019-05-26 08:41:20 +02:00

16 lines
382 B
Go

package compose
import (
"context"
"testing"
"github.com/cortezaproject/corteza-server/internal/test"
)
func TestConfigure(t *testing.T) {
var config = Configure()
test.Assert(t, config != nil, "Configure valid")
test.Assert(t, func() bool { config.Init(); return true }(), "Initialization ok")
test.Assert(t, config.MakeCLI(context.Background()) != nil, "CLI created")
}