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

TestSolrAuthzBinding does not properly test negative cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: