Skip to content
Merged
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
4 changes: 2 additions & 2 deletions mdl/backend/mpr/workflow_mutator.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (b *MprBackend) openWorkflowForMutation(unitID model.ID) (backend.WorkflowM
// ---------------------------------------------------------------------------

func (m *mprWorkflowMutator) SetProperty(prop string, value string) error {
switch prop {
switch strings.ToLower(prop) {
case "display":
wfName := dGetDoc(m.rawData, "WorkflowName")
if wfName == nil {
Expand Down Expand Up @@ -158,7 +158,7 @@ func (m *mprWorkflowMutator) SetActivityProperty(activityRef string, atPos int,
return err
}

switch prop {
switch strings.ToLower(prop) {
case "page":
taskPage := dGetDoc(actDoc, "TaskPage")
if taskPage != nil {
Expand Down
2 changes: 1 addition & 1 deletion mdl/visitor/visitor_rest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestCreateRestClient_Basic(t *testing.T) {
if op.Name != "GetPets" {
t.Errorf("Got Name %q", op.Name)
}
if op.Method != "GET" {
if op.Method != "get" {
t.Errorf("Got Method %q", op.Method)
}
}
Expand Down
Loading