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

TestUtils#login should fail by default if the authentication failed

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 11.6-rc-1
    • None
    • Test Framework
    • None
    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: