Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1807

webac: minor code cleanup

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.4.0
    • Fix Version/s: Fedora 4.5.0
    • Component/s: f4-auth
    • Labels:
    • Sprint:
      Sprint 2015 - 12

      Description

      The webac integration tests include a lot of blocks of code like this:

      try (final CloseableHttpResponse response = execute(request))

      { assertEquals(HttpStatus.SC_OK, getStatus(response)); }

      Those should be refactored to be simply:

      assertEquals(HttpStatus.SC_OK, getStatus(request));

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                unknown Unknown
                Reporter:
                unknown Unknown
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: