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

Fix tests database automatic creation

    XMLWordPrintable

Details

    Description

      ezpTestDatabaseHelper::create() is designed to create the tests database.
      But the way it connects to the db when checking for tests db existence is wrong.
      We must not try to select the database name provided in the dsn, because if it does not exist, the eZDB instance won't be valid and the check for existence will fail.

      Attachments

        Activity

          People

            Unassigned Unassigned
            foxcore foxcore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: