Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-477

Tests from HttpWagonTestCase executed from WebDavWagonTestCase never see the DavServlet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • 2.11
    • None
    • wagon-webdav
    • None

    Description

      Several methods in HttpWagonTestCase executed from WebDavWagonTestCase set up their own server and root context instead of using createContext() or setupWagonTestingFixtures() which never create the DavServlet to perform DAV operations, but use the DefaultServlet or the PutHandler.

      Ultimately, all MKCOL requests result to 200 instead of 201 due to the PutHandler and these tests are not real-world tests because they are not served by a DAV servlet to properly test the DAV usecase.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: