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

PHPUnit tests fail when using Zeta Components from composer and testing eZ Publish legacy with an additional extension

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.2-alpha1
    • None

    Description

      This is a connected to #EZP-21408 as it concerns an installation of eZ Publish legacy with eZ/Zeta Components installed through composer only.

      In the given environment (with activated extension ezcomments), eZ Publish's PHPUnit tests fails after a while with the message

      Fatal error: Class 'ezcLog' not found in /../vendor/zetacomponents/debug/src/debug.php on line 145
      

      Adding zetacomponents/event-log to the composer.json file fixes this issue.

      How to reproduce

      • Checkout ezpublish-legacy
      • Install Zeta Components with composer install
      • Checkout ezcomments
      • Copy ezcomments into extension/ezcomments
      • Activate extension
      • Run the PHPUnit tests

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: