@@ -118,13 +118,13 @@ class Test_Piwik_Integration_AutoSuggestAPITest extends IntegrationTestCase
...
@@ -118,13 +118,13 @@ class Test_Piwik_Integration_AutoSuggestAPITest extends IntegrationTestCase
publicfunctiontestCheckOtherTestsWereComplete()
publicfunctiontestCheckOtherTestsWereComplete()
{
{
// Check that only a few haven't been tested specifically (these are all custom variables slots since we only test slot 1, 2, 5 (see the fixture))
// Check that only a few haven't been tested specifically (these are all custom variables slots since we only test slot 1, 2, 5 (see the fixture))
$maximumSegmentsToSkip=10;
$maximumSegmentsToSkip=11;
$this->assertTrue(count(self::$skipped)<=$maximumSegmentsToSkip,'SKIPPED '.count(self::$skipped).' segments --> some segments had no "auto-suggested values"
$this->assertTrue(count(self::$skipped)<=$maximumSegmentsToSkip,'SKIPPED '.count(self::$skipped).' segments --> some segments had no "auto-suggested values"
but we should try and test the autosuggest for all new segments. Segments skipped were: '.implode(', ',self::$skipped));
but we should try and test the autosuggest for all new segments. Segments skipped were: '.implode(', ',self::$skipped));
// and check that most others have been tested
// and check that most others have been tested
$minimumSegmentsToTest=47;
$minimumSegmentsToTest=47;
$this->assertTrue(self::$processed>=$minimumSegmentsToTest,'PROCESSED '.self::$processed.' segments --> it seems some segments "auto-suggested values" haven\'t been tested as we were expecting');
$this->assertTrue(self::$processed>=$minimumSegmentsToTest,'PROCESSED '.self::$processed.' segments --> it seems some segments "auto-suggested values" haven\'t been tested as we were expecting');