junit.framework.AssertionFailedError: was expecting no error messages, but received: "errors.required" "errors.required"

AppFuse JIRA | Tomas Barrios | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. junit.framework.AssertionFailedError

    was expecting no error messages, but received: "errors.required" "errors.required"

    at servletunit.struts.Common.verifyNoActionMessages()
  2. servletunit.struts
    MockStrutsTestCase.verifyNoActionErrors
    1. servletunit.struts.Common.verifyNoActionMessages(Common.java:69)
    2. servletunit.struts.MockStrutsTestCase.verifyNoActionErrors(MockStrutsTestCase.java:813)
    2 frames
  3. mobilemedia.webapp.action
    TownActionTest.testAdd
    1. mobilemedia.webapp.action.TownActionTest.testAdd(TownActionTest.java:23)
    1 frame