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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: