Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-04-05 08:51:52 +0400
committermattab <matthieu.aubry@gmail.com>2014-04-05 08:51:52 +0400
commitdfd357395b59e1d868683e9f93cb8eee5a226713 (patch)
tree8e262aacf1df44ba2e390a2f748113cf665e7f3c /tests
parent13490ae41929fa4d239c7cf6d417ca416fbd7f8d (diff)
Skip test earlier.
Trying to fix: PHP Fatal error: Call to a member function getCurrency() on a non-object in /home/travis/build/piwik/piwik/plugins/Live/API.php on line 554 https://travis-ci.org/piwik/piwik/jobs/22318726 Note: this should not happen really and I'm puzzled... especially as it works on other PHP versions...
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Integration/AutoSuggestAPITest.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/PHPUnit/Integration/AutoSuggestAPITest.php b/tests/PHPUnit/Integration/AutoSuggestAPITest.php
index 77b754840d..6f793606a0 100644
--- a/tests/PHPUnit/Integration/AutoSuggestAPITest.php
+++ b/tests/PHPUnit/Integration/AutoSuggestAPITest.php
@@ -24,17 +24,18 @@ class Test_Piwik_Integration_AutoSuggestAPITest extends IntegrationTestCase
*/
public function testApi($api, $params)
{
- $this->runApiTests($api, $params);
- }
-
- public function getApiForTesting()
- {
// on Travis this test seg faults for no reason eg: https://github.com/piwik/piwik/commit/94d0ce393b2c496cda571571a0425af846406fda
$isPhp53 = strpos(PHP_VERSION, '5.3') === 0;
if($isPhp53) {
$this->markTestSkipped("Skipping this test as it seg faults on php 5.3 (bug triggered on travis)");
}
+
+ $this->runApiTests($api, $params);
+ }
+
+ public function getApiForTesting()
+ {
// we will test all segments from all plugins
Fixture::loadAllPlugins();