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

Parent setUp() function should be called after testing whether a test should be skipped

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.1.4, 4.2.0, 4.3.0beta1
    • Fix Version/s: 4.3.0beta2
    • Component/s: Misc
    • Labels:
      None

      Description

      Running the testsuite against a PostgreSQL DB issues many errors.
      While tests are marked to be skipped, the call to parent::setUp() generates errors.

      In a general way, we should skip tests before the call to parent::setUp() is made unless skipping can only be figured depending on the parent::setUp() call.

      Steps to reproduce

      php tests/runtests.php --db-per-test --dsn postgresql://...@localhost/ezpublish -f eZDFSFileHandlerTest

        Attachments

          Activity

            People

            Assignee:
            patrick.allaert Patrick Allaert
            Reporter:
            patrick.allaert Patrick Allaert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: