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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.3.0beta2
    • 4.1.4, 4.2.0, 4.3.0beta1
    • Misc
    • 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

            patrick.allaert patrick.allaert
            patrick.allaert patrick.allaert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: