Uploaded image for project: 'Zeta Components'
  1. Zeta Components
  2. ZETACOMP-101

connecting in ezcSearchSolrHandler::__construct makes it hard to test

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Search

    Description

      The constructor of ezcSearchSolrHandler calls connect() which tries to open a tcp connection to the specified solr server and port.
      This is very inconvenient in terms of unit testing the creation of an ezcSearchSolrHandler instance in our application.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rekowski David Rekowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified