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

Fix unstable test in TagProductsActionTest

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD