Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-60

TestSolrAuthzBinding does not properly test negative cases

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
      None

      Description

       
      expectAuthException(SolrAuthzBinding binding, Subject subject,
            Collection collection, EnumSet<SearchModelAction> action) throws Exception {
      

      is supposed to check that an exception happens for the given binding, subject, collection, and actions, but it ignores the parameters. This didn't cause a test failure because the params it uses cause exceptions to be generated anyway.

        Attachments

        1. SENTRY-60.patch
          1.0 kB
          Gregory Chanan

          Activity

            People

            • Assignee:
              gchanan Gregory Chanan
              Reporter:
              gchanan Gregory Chanan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: