From a630dead90724060c23f9ac8ddec97cb06fcd8b5 Mon Sep 17 00:00:00 2001 From: Thomas Steur <thomas.steur@googlemail.com> Date: Sun, 29 Jun 2014 23:00:52 +0200 Subject: [PATCH] skip 2 more segments from example plugin --- tests/PHPUnit/Integration/AutoSuggestAPITest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/PHPUnit/Integration/AutoSuggestAPITest.php b/tests/PHPUnit/Integration/AutoSuggestAPITest.php index 654105c32b..f8741d2613 100644 --- a/tests/PHPUnit/Integration/AutoSuggestAPITest.php +++ b/tests/PHPUnit/Integration/AutoSuggestAPITest.php @@ -129,8 +129,8 @@ class Test_Piwik_Integration_AutoSuggestAPITest extends IntegrationTestCase */ public function testCheckOtherTestsWereComplete() { - // 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 = 11; + // 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) and example dimension slots) + $maximumSegmentsToSkip = 13; $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)); -- GitLab