Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16539

TestUtils#login should fail by default if the authentication failed

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.6-rc-1
    • Component/s: Test Framework
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The changes made on XWIKI-15488 shows that for lot of tests there is authentication failures with login user:

      WARN  nticationFailureLoggerListener - Authentication failure with login [Admin]
      

      Those errors are shown because of a new logger introduced, but we should in fact make the test fails if the TestUtils#login method didn't worked properly. And fix the related failing tests.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                surli Simon Urli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: