Skip to content
Merged

Misc #269

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mdl/executor/cmd_misc_mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package executor
import (
"testing"

"github.com/mendixlabs/mxcli/mdl/ast"
"github.com/mendixlabs/mxcli/mdl/backend/mock"
"github.com/mendixlabs/mxcli/mdl/types"
)
Expand Down Expand Up @@ -64,7 +65,7 @@ func TestShowVersion_NoSchemaHash(t *testing.T) {

func TestHelp_Mock(t *testing.T) {
ctx, buf := newMockCtx(t)
assertNoError(t, execHelp(ctx))
assertNoError(t, execHelp(ctx, &ast.HelpStmt{}))

out := buf.String()
assertContainsStr(t, out, "MDL Commands")
Expand Down
3 changes: 3 additions & 0 deletions mdl/executor/roundtrip_doctype_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ var scriptKnownCEErrors = map[string][]string{
"CE0463", // Widget definition changed (TEXTFILTER template property count mismatch)
"CE1613", // ComboBox enum attribute written as association pointer
},
"workflow-user-targeting.mdl": {
"CE1613", // System.UserGroup does not exist in the test Mendix version
},
}

// TestMxCheck_DoctypeScripts executes each doctype-tests/*.mdl example script
Expand Down
Loading