diff --git a/application/helpers/update/updatedb_helper.php b/application/helpers/update/updatedb_helper.php index dfa53cfa299..95d3c8a9d65 100644 --- a/application/helpers/update/updatedb_helper.php +++ b/application/helpers/update/updatedb_helper.php @@ -4536,6 +4536,7 @@ function runAddPrimaryKeyonAnswersTable400(&$oDB) { * @param string $table table name (without prefix) * @param boolean $state Set to true to activate ID insert, or false to deactivate */ +/* function switchMSSQLIdentityInsert($table, $state, $oDb = null) { $oDb = $oDb === null ? Yii::app()->db : $oDb; @@ -4548,4 +4549,5 @@ function switchMSSQLIdentityInsert($table, $state, $oDb = null) $oDb->pdoInstance->exec( 'SET IDENTITY_INSERT '.$oDb->tablePrefix.$table.' OFF'); } } -} \ No newline at end of file +} + */ diff --git a/tests/bootstrap.php b/tests/bootstrap.php index a3b35751592..16cdf94d6b6 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -251,7 +251,8 @@ $configFile = __DIR__ . '/application/config/config.php'; $configBackupFile = __DIR__ . '/application/config/test-backup.config.php'; -error_reporting(E_ALL); +// Enable if phpunit fails. +// error_reporting(E_ALL); @copy($configFile, $configBackupFile);