Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5571 Revise implementation of delta tasks
  3. MAGNOLIA-5643

Enhance implementation and naming of OrderNodeTo1stPosTask

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.2.2
    • None
    • core
    • None

      That task should not retrieve the session from MgnlContext but from the installContext.

      Also we try to avoid numbers and abbreviations in class names: hence OrderNodeTo1stPosTask should be replaced by OrderNodeToFirstPositionTask.

      Lastly: there's no benefit in using a RepositoryTestCase to test such a task - in contrary, it's just much heavier/slower than an ordinary unit-test using MockSession.

            dlipp Daniel Lipp
            dlipp Daniel Lipp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: