Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-811

Convert AuthorizationFilterTest to using Mockito

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Later
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Web
    • Labels:
      None

      Description

      The AuthorizationFilterTest is unreliable due to strict verifying with EasyMock.
      Converting to Mockito and verifying a little less method calls (where not needed) should solve this "toggling" test.

        Attachments

          Activity

            People

            • Assignee:
              bmarwell Benjamin Marwell
              Reporter:
              bmarwell Benjamin Marwell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h