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

trying harder

git-svn-id: http://dev.piwik.org/svn/trunk@7508 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent ba4bbbaf
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -53,6 +53,8 @@ class PrivacyManagerTest extends IntegrationTestCase ...@@ -53,6 +53,8 @@ class PrivacyManagerTest extends IntegrationTestCase
Piwik_ArchiveProcessing_Period::$enablePurgeOutdated = true; Piwik_ArchiveProcessing_Period::$enablePurgeOutdated = true;
self::$dbData = self::getDbTablesWithData(); self::$dbData = self::getDbTablesWithData();
var_dump(self::$dbData);
echo Piwik_FetchOne("SELECT count(*) from ".Piwik_Common::prefixTable('log_visit'));
} }
public function setUp() public function setUp()
...@@ -120,8 +122,9 @@ class PrivacyManagerTest extends IntegrationTestCase ...@@ -120,8 +122,9 @@ class PrivacyManagerTest extends IntegrationTestCase
* @group PrivacyManager * @group PrivacyManager
*/ */
public function testDeleteLogDataInitialRun() public function testDeleteLogDataInitialRun()
{ {echo Piwik_FetchOne("SELECT count(*) from ".Piwik_Common::prefixTable('log_visit'));
$this->instance->deleteLogData(); $this->instance->deleteLogData();
echo Piwik_FetchOne("SELECT count(*) from ".Piwik_Common::prefixTable('log_visit'));
// check that initial option is set // check that initial option is set
$this->assertEquals( $this->assertEquals(
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter