Skip to content
Extraits de code Groupes Projets
Valider 0a92194e rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

fixed some tests after full cldr update

parent d859f437
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
<?xml version="1.0" encoding="utf-8" ?>
<result>
<website>new name</website>
<prettyDate>Week March 1 – 7, 2010</prettyDate>
<prettyDate>week March 1 – 7, 2010</prettyDate>
<metadata>
<category>Actions</category>
<name>Page URLs</name>
......
......@@ -122,7 +122,7 @@
</row>
<row>
<code>id</code>
<name>Bahasa Indonesia</name>
<name>Indonesia</name>
<english_name>Indonesian</english_name>
</row>
<row>
......
......@@ -12,7 +12,7 @@
</h1>
 
<p>
Mail Test report - Date range: Week April 4 – 10, 2011
Mail Test report - Date range: week April 4 – 10, 2011
</p>
 
 
......
Week April 4 – 10, 2011. Piwik test: 5 Visits (+100%), 16 Actions (+100%), Revenue: $ 13361 (+100%), 5 Goal conversions (+100%), Product Revenue: $ 13351 (+100%), 4 Ecommerce Orders (+100%). Piwik test: 2 Visits (+100%), 1 Actions (+100%), Revenue: $ 250 (+100%), 1 Goal conversions (+100%)
\ No newline at end of file
week April 4 – 10, 2011. Piwik test: 5 Visits (+100%), 16 Actions (+100%), Revenue: $ 13361 (+100%), 5 Goal conversions (+100%), Product Revenue: $ 13351 (+100%), 4 Ecommerce Orders (+100%). Piwik test: 2 Visits (+100%), 1 Actions (+100%), Revenue: $ 250 (+100%), 1 Goal conversions (+100%)
\ No newline at end of file
Week April 4 – 10, 2011. 5 Visits (+100%), 16 Actions (+100%), Revenue: $ 13361 (+100%), 5 Goal conversions (+100%), Product Revenue: $ 13351 (+100%), 4 Ecommerce Orders (+100%)
\ No newline at end of file
week April 4 – 10, 2011. 5 Visits (+100%), 16 Actions (+100%), Revenue: $ 13361 (+100%), 5 Goal conversions (+100%), Product Revenue: $ 13351 (+100%), 4 Ecommerce Orders (+100%)
\ No newline at end of file
......@@ -334,7 +334,7 @@ class MonthTest extends BasePeriodTest
{
return array(
array('en', 'October 2024'),
array('lt', '2024 Spalis'),
array('lt', '2024 m. Spalis'),
array('zh-cn', '2024年10月'),
);
}
......
......@@ -12,6 +12,11 @@ use Piwik\Container\StaticContainer;
use Piwik\Date;
use Piwik\Period\Week;
/**
* Class WeekTest
* @package Piwik\Tests\Unit\Period
* @group WeekTest
*/
class WeekTest extends BasePeriodTest
{
/**
......@@ -122,7 +127,7 @@ class WeekTest extends BasePeriodTest
{
return array(
array('en', array('Oct 7 – 13, 2024', 'Nov 25 – Dec 1, 2024', 'Dec 30, 2024 – Jan 5, 2025')),
array('lt', array('2024-10-07 – 2024-10-13', '2024-11-25 – 2024-12-01', '2024-12-30 – 2025-1-05')),
array('lt', array('2024 Spal. 7–13', '2024 Lapkr. 25 – Gruod. 1', '2024 Gruod. 30 – 2025 Saus. 5')),
array('zh-cn', array('2024年10月7日至13日', '2024年11月25日至12月1日', '2024年12月30日至2025年01月5日')),
);
}
......@@ -150,8 +155,8 @@ class WeekTest extends BasePeriodTest
public function getLocalizedLongStrings()
{
return array(
array('en', array('Week October 7 – 13, 2024', 'Week November 25 – December 1, 2024', 'Week December 30, 2024 – January 5, 2025')),
array('lt', array('Savaitė 2024 Spalio 7–13', 'Savaitė 2024 Lapkričio 25 – Gruodžio 1', 'Savaitė 2024 Gruodžio 30 – 2025 Sausio 5')),
array('en', array('week October 7 – 13, 2024', 'week November 25 – December 1, 2024', 'week December 30, 2024 – January 5, 2025')),
array('lt', array('savaitė 2024 Spalio 7–13', 'savaitė 2024 Lapkričio 25 – Gruodžio 1', 'savaitė 2024 Gruodžio 30 – 2025 Sausio 5')),
array('zh-cn', array('周 2024年10月7日至13日', '周 2024年11月25日至12月1日', '周 2024年12月30日至2025年01月5日')),
);
}
......
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