diff options
Diffstat (limited to 'tests/PHPUnit/Integration/Core')
8 files changed, 0 insertions, 12 deletions
diff --git a/tests/PHPUnit/Integration/Core/ArchiveProcessingTest.php b/tests/PHPUnit/Integration/Core/ArchiveProcessingTest.php index d67e899c1a..34aa3aeefb 100644 --- a/tests/PHPUnit/Integration/Core/ArchiveProcessingTest.php +++ b/tests/PHPUnit/Integration/Core/ArchiveProcessingTest.php @@ -120,7 +120,6 @@ class Core_ArchiveProcessingTest extends DatabaseTestCase $this->assertTrue($archiveProcessor->public_isArchiveTemporary()); } - private function compareTimestamps($expected, $processed) { // $messageIfFails = Date::factory($expected)->getDatetime() . " != " . Date::factory($processed)->getDatetime(); @@ -420,7 +419,6 @@ class Core_ArchiveProcessingTest extends DatabaseTestCase $this->fail('Exception expected'); } - protected function _checkTableIsExpected($table, $data) { $fetched = Db::fetchAll('SELECT * FROM ' . $table); diff --git a/tests/PHPUnit/Integration/Core/CronArchive/FixedSiteIdsTest.php b/tests/PHPUnit/Integration/Core/CronArchive/FixedSiteIdsTest.php index 847af0e3c8..259df6fc9e 100644 --- a/tests/PHPUnit/Integration/Core/CronArchive/FixedSiteIdsTest.php +++ b/tests/PHPUnit/Integration/Core/CronArchive/FixedSiteIdsTest.php @@ -51,5 +51,4 @@ class FixedSiteIdsTest extends PHPUnit_Framework_TestCase $this->assertEquals(4, $this->fixedSiteIds->getNumProcessedWebsites()); } - }
\ No newline at end of file diff --git a/tests/PHPUnit/Integration/Core/Plugin/SettingsTest.php b/tests/PHPUnit/Integration/Core/Plugin/SettingsTest.php index cc7d974301..9d515201ec 100644 --- a/tests/PHPUnit/Integration/Core/Plugin/SettingsTest.php +++ b/tests/PHPUnit/Integration/Core/Plugin/SettingsTest.php @@ -440,7 +440,6 @@ class Core_Plugin_SettingsTest extends DatabaseTestCase $this->addSystemSetting('mysystemsetting3', 'mytitle3'); $this->settings->save(); - $verifySettings = $this->createSettingsInstance(); $setting1 = $this->buildSystemSetting('mysystemsetting1', 'mytitle1'); diff --git a/tests/PHPUnit/Integration/Core/SegmentTest.php b/tests/PHPUnit/Integration/Core/SegmentTest.php index 79f1273a23..ce7a0c363f 100644 --- a/tests/PHPUnit/Integration/Core/SegmentTest.php +++ b/tests/PHPUnit/Integration/Core/SegmentTest.php @@ -42,7 +42,6 @@ class SegmentTest extends DatabaseTestCase } } - public function getCommonTestData() { return array( diff --git a/tests/PHPUnit/Integration/Core/Tracker/ActionTest.php b/tests/PHPUnit/Integration/Core/Tracker/ActionTest.php index 1498e67578..c145757bac 100644 --- a/tests/PHPUnit/Integration/Core/Tracker/ActionTest.php +++ b/tests/PHPUnit/Integration/Core/Tracker/ActionTest.php @@ -156,7 +156,6 @@ class Core_Tracker_ActionTest extends DatabaseTestCase $this->assertEquals(PageUrl::reconstructNormalizedUrl($url, PageUrl::$urlPrefixMap['http://']), $expectedUrl); } - /** * Testing with some website specific parameters excluded * @group Core @@ -192,7 +191,6 @@ class Core_Tracker_ActionTest extends DatabaseTestCase $this->assertEquals($filteredUrl[1], PageUrl::excludeQueryParametersFromUrl($url, $idSite)); } - public function getExtractUrlData() { return array( diff --git a/tests/PHPUnit/Integration/Core/Tracker/VisitTest.php b/tests/PHPUnit/Integration/Core/Tracker/VisitTest.php index 1aef6fc6ea..c748b4ddb7 100644 --- a/tests/PHPUnit/Integration/Core/Tracker/VisitTest.php +++ b/tests/PHPUnit/Integration/Core/Tracker/VisitTest.php @@ -157,7 +157,6 @@ class Core_Tracker_VisitTest extends DatabaseTestCase $idsite = API::getInstance()->addSite("name", "http://piwik.net/"); - // test that user agents that contain excluded user agent strings are excluded foreach ($knownSpammers as $spamUrl => $expectedIsReferrerSpam) { $spamUrl = urlencode($spamUrl); @@ -222,7 +221,6 @@ class Core_Tracker_VisitTest extends DatabaseTestCase 'sogou spider' => true, 'Mozilla/5.0(compatible;Sosospider/2.0;+http://help.soso.com/webspider.htm)' => true, - 'AdsBot-Google (+http://www.google.com/adsbot.html)' => true, 'Google Page Speed Insights' => true, // Web snippets diff --git a/tests/PHPUnit/Integration/Core/ViewDataTable/ManagerTest.php b/tests/PHPUnit/Integration/Core/ViewDataTable/ManagerTest.php index 993eab14c3..65cdf9abe8 100644 --- a/tests/PHPUnit/Integration/Core/ViewDataTable/ManagerTest.php +++ b/tests/PHPUnit/Integration/Core/ViewDataTable/ManagerTest.php @@ -69,7 +69,6 @@ class Core_Plugin_ViewDataTable_ManagerTest extends DatabaseTestCase $this->assertEmpty(ViewDataTableManager::getViewDataTableParameters('mylogin3', 'API.get5')); } - public function test_clearUserViewDataTableParameters_shouldOnlyRemoveAUsersParameters() { ViewDataTableManager::saveViewDataTableParameters('mylogin1', 'API.get1', array('flat' => 1)); diff --git a/tests/PHPUnit/Integration/Core/WidgetsListTest.php b/tests/PHPUnit/Integration/Core/WidgetsListTest.php index 08c2e14c0d..b86238004d 100644 --- a/tests/PHPUnit/Integration/Core/WidgetsListTest.php +++ b/tests/PHPUnit/Integration/Core/WidgetsListTest.php @@ -36,7 +36,6 @@ class Core_WidgetsListTest extends DatabaseTestCase $widgets = WidgetsList::get(); WidgetsList::_reset(); - // check if each category has the right number of widgets $numberOfWidgets = array( 'VisitsSummary_VisitsSummary' => 6, @@ -167,7 +166,6 @@ class Core_WidgetsListTest extends DatabaseTestCase WidgetsList::_reset(); } - /** * @group Core */ |