Skip to content
Extraits de code Groupes Projets
Valider f32f09ba rédigé par Matthieu Aubry's avatar Matthieu Aubry Validation de GitHub
Parcourir les fichiers

Fix unit tests (#12076)

* Fixes unit tests
refs https://github.com/piwik/piwik/pull/12071

* Remove extra line

* another try
parent b0d46dc4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -14,6 +14,7 @@ use Piwik\Period;
use Piwik\Period\Month;
use Piwik\Period\Week;
use Piwik\Period\Year;
use Piwik\Translation\Translator;
/**
* @group Core
......@@ -68,7 +69,7 @@ class PeriodTest extends \PHPUnit_Framework_TestCase
/**
* @expectedException \Exception
* @expectedExceptionMessage General_ExceptionInvalidDateFormat
* @expectedExceptionMessage Date format must be: YYYY-MM-DD, or 'today' or 'yesterday' or any keyword supported by the strtotime function (see http://php.net/strtotime for more information):
* @dataProvider getInvalidDateFormats
*/
public function testValidate_InvalidDates($invalidDateFormat)
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter