Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21765

PHPUnit tests throw errors because derived methods don't match parent

    XMLWordPrintable

Details

    Description

      When running the eZ Find Unit Test Suite, an error is thrown, because getClassAttributeType() and getFieldName() don't match their parents in ezfSolrDocumentFieldDummyExample

      ezfSolrDocumentFieldDummyExample::ezfSolrDocumentFieldBase():

      static function getClassAttributeType( eZContentClassAttribute $classAttribute, $subAttribute = null, $context = 'search' )
      {
          // ...
      }
      

      ezfSolrDocumentFieldDummyExample::getClassAttributeType()

      static function getClassAttributeType( eZContentClassAttribute $classAttribute, $subAttribute = null )
      {
          // ...
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgamez jgamez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: