We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f87c86d + 1476255 commit 32b799fCopy full SHA for 32b799f
1 file changed
mdl/executor/roundtrip_helpers_test.go
@@ -22,6 +22,8 @@ import (
22
"testing"
23
24
"github.com/mendixlabs/mxcli/mdl/ast"
25
+ "github.com/mendixlabs/mxcli/mdl/backend"
26
+ mprbackend "github.com/mendixlabs/mxcli/mdl/backend/mpr"
27
"github.com/mendixlabs/mxcli/mdl/visitor"
28
"github.com/pmezard/go-difflib/difflib"
29
)
@@ -220,6 +222,7 @@ func setupTestEnv(t *testing.T) *testEnv {
220
222
221
223
output := &bytes.Buffer{}
224
exec := New(output)
225
+ exec.SetBackendFactory(func() backend.FullBackend { return mprbackend.New() })
226
227
// Connect to project
228
connectStmt := &ast.ConnectStmt{
0 commit comments