diff options
author | diosmosis <benaka@piwik.pro> | 2015-10-07 16:49:12 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-10-12 21:05:36 +0300 |
commit | b36d6d5c61dcb934e27d0b99506be739744fd1f1 (patch) | |
tree | 306b36fe942af7424a5c86c9587d9a446e27f8f4 /tests | |
parent | f34f4ce4b71e4fa97cd5c1b6ce37ee6553a70cf4 (diff) |
Do not invalidate unnecessary periods.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PHPUnit/Integration/DataAccess/ArchiveInvalidatorTest.php | 7 | ||||
-rw-r--r-- | tests/PHPUnit/Unit/PeriodTest.php | 5 |
2 files changed, 1 insertions, 11 deletions
diff --git a/tests/PHPUnit/Integration/DataAccess/ArchiveInvalidatorTest.php b/tests/PHPUnit/Integration/DataAccess/ArchiveInvalidatorTest.php index 2b403b73c1..a1f09690b5 100644 --- a/tests/PHPUnit/Integration/DataAccess/ArchiveInvalidatorTest.php +++ b/tests/PHPUnit/Integration/DataAccess/ArchiveInvalidatorTest.php @@ -346,9 +346,6 @@ class ArchiveInvalidatorTest extends IntegrationTestCase true, array( '2014_12' => array( - '1.2014-12-29.2014-12-29.1.done', - '1.2014-12-30.2014-12-30.1.done', - '1.2014-12-31.2014-12-31.1.done', '1.2014-12-29.2015-01-04.2.done', ), '2015_01' => array( @@ -389,9 +386,7 @@ class ArchiveInvalidatorTest extends IntegrationTestCase '1.2015-01-26.2015-02-01.2.done', '1.2015-01-01.2015-01-31.3.done', ), - '2015_02' => array( - '1.2015-02-01.2015-02-01.1.done', - ), + '2015_02' => array(), '2015_03' => array(), '2015_04' => array(), '2015_05' => array(), diff --git a/tests/PHPUnit/Unit/PeriodTest.php b/tests/PHPUnit/Unit/PeriodTest.php index 3ee8de3da9..eb8b2e84c3 100644 --- a/tests/PHPUnit/Unit/PeriodTest.php +++ b/tests/PHPUnit/Unit/PeriodTest.php @@ -203,7 +203,6 @@ class PeriodTest extends \PHPUnit_Framework_TestCase array('week', '2015-09-14,2015-09-20'), array('week', '2015-09-21,2015-09-27'), array('week', '2015-09-28,2015-10-04'), - array('day', '2015-08-31,2015-08-31'), array('day', '2015-09-01,2015-09-01'), array('day', '2015-09-02,2015-09-02'), array('day', '2015-09-03,2015-09-03'), @@ -234,10 +233,6 @@ class PeriodTest extends \PHPUnit_Framework_TestCase array('day', '2015-09-28,2015-09-28'), array('day', '2015-09-29,2015-09-29'), array('day', '2015-09-30,2015-09-30'), - array('day', '2015-10-01,2015-10-01'), - array('day', '2015-10-02,2015-10-02'), - array('day', '2015-10-03,2015-10-03'), - array('day', '2015-10-04,2015-10-04'), ), ), |