Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-496

Fix unstable test in TagProductsActionTest

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 1.3.2, 1.2.7
    • 1.2.6, 1.3.1
    • None
    • AuthorX 3
    • 3

    Description

      Test : info.magnolia.ecommerce.decoration.action.TagProductsActionTest#verifyActionExecuteWithProduct is failing from time to time with NPE because of the

      UI.setCurrent(ui);

       

      AC:

        fix the unit test

       

      Developer Notes:

         We can create a MagnoliaNotificationService that can handle the vaadin notifications. In the unit tests we can mock the service and not bother with setting the current UI.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              jalonso Jesus Alonso
              aichimescu Andrei Ichimescu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD