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

eZFind Unit Tests: ezfind_elevate_configuration table is tried to be created twice

    XMLWordPrintable

Details

    Description

      The SQL files for the eZ Find Test Suite are already imported in the suite, but get re-imported in the eZFindElevateConfigurationTest class. This causes an SQL error because the table already exists at this point.

      protected $sqlFiles = array( 'extension/ezfind/sql/mysql/mysql.sql' );
      
      public function setUp()
      {
          parent::setUp();
          ezpTestDatabaseHelper::insertSqlData( $this->sharedFixture, $this->sqlFiles );
      }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: