Skip to content
Extraits de code Groupes Projets
Valider 66047740 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Fix build for no tables_prefix on travis change.

parent 4e765926
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -14,6 +14,8 @@ use Piwik\Updater;
/**
* Tests that Piwik 2.0 works w/ data from Piwik 1.12.
*
* @group BackwardsCompatibility1XTest
*/
class Test_Piwik_Integration_BackwardsCompatibility1XTest extends IntegrationTestCase
{
......@@ -119,4 +121,4 @@ class Test_Piwik_Integration_BackwardsCompatibility1XTest extends IntegrationTes
Test_Piwik_Integration_BackwardsCompatibility1XTest::$fixture = new Piwik_Test_Fixture_SqlDump();
Test_Piwik_Integration_BackwardsCompatibility1XTest::$fixture->dumpUrl =
PIWIK_INCLUDE_PATH . Test_Piwik_Integration_BackwardsCompatibility1XTest::FIXTURE_LOCATION;
Test_Piwik_Integration_BackwardsCompatibility1XTest::$fixture->tablesPrefix = 'piwiktests_';
\ No newline at end of file
Test_Piwik_Integration_BackwardsCompatibility1XTest::$fixture->tablesPrefix = '';
\ No newline at end of file
......@@ -950,7 +950,7 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase
{
$result = array();
foreach (DbHelper::getTablesInstalled() as $tableName) {
$result[$tableName] = Db::fetchAll("SELECT * FROM $tableName");
$result[$tableName] = Db::fetchAll("SELECT * FROM `$tableName`");
}
return $result;
}
......
Ce diff est replié.
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter