Uploaded image for project: 'Scribble'
  1. Scribble
  2. SCRIB-41

LDAP Rules are not properly applied

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: 0.2.0-alpha1
    • Fix Version/s: 0.2.0, 0.2.0-alpha2, 0.2.0-alpha3
    • Labels:
      None

      Description

      Both rules Directory and DirectoryServer only implement the TestRule interface. They do not provide the logic to properly wrap around an innerrule (respectively nest inside an outer rule) as provided by the ExternalResource. Hence, the when the Directory is wrapped around the DirectoryServer, i.e. when being creatd using the builder, the server gets initialized but the directory not.

      Solution:
      both must inherit from the ExternalResource base rule and override before/after methods instead of overriding the apply method

        Attachments

          Activity

            People

            • Assignee:
              gmuecke Gerald Mücke
              Reporter:
              gmuecke Gerald Mücke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: