Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-07-01 22:22:45 +0400
committermattab <matthieu.aubry@gmail.com>2013-07-01 22:22:45 +0400
commitdf161dcaf3af3d0b63d1b7a6d91ad3baeb02c8fd (patch)
tree6272fa7b35b64ef1fee518fa0459d7ff49f20c03 /tests
parent8cf610d7a749dd21e66b0622e99f9cf59ee23f7f (diff)
fix build
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Core/ArchiveProcessingTest.php4
-rw-r--r--tests/PHPUnit/Integration/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml4
-rw-r--r--tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_and_graph__PDFReports.generateReport_week.original.html4
-rw-r--r--tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__PDFReports.generateReport_week.original.html4
4 files changed, 8 insertions, 8 deletions
diff --git a/tests/PHPUnit/Core/ArchiveProcessingTest.php b/tests/PHPUnit/Core/ArchiveProcessingTest.php
index 4207f67a2b..a5214b6069 100644
--- a/tests/PHPUnit/Core/ArchiveProcessingTest.php
+++ b/tests/PHPUnit/Core/ArchiveProcessingTest.php
@@ -1,4 +1,4 @@
-<?php
+g<?php
/**
* Piwik - Open source web analytics
*
@@ -269,7 +269,7 @@ class ArchiveProcessingTest extends DatabaseTestCase
if (!Piwik_Common::isPhpCliMode()) {
$dateMinArchived = 0;
}
- $this->assertEquals($dateMinArchived, $archiveProcessor->getMinTimeArchivedProcessed());
+ $this->compareTimestamps($dateMinArchived, $archiveProcessor->getMinTimeArchivedProcessed());
// this test varies with DST
$this->assertTrue($archiveProcessor->getDateStart()->getDateStartUTC() == date('Y-m-d', $timestamp) . ' 04:00:00' ||
diff --git a/tests/PHPUnit/Integration/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml b/tests/PHPUnit/Integration/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml
index 40dd71adec..b6412f802b 100644
--- a/tests/PHPUnit/Integration/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml
+++ b/tests/PHPUnit/Integration/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml
@@ -1326,7 +1326,7 @@
<dimension>Visits by Visit Number</dimension>
<metrics>
<nb_visits>Visits</nb_visits>
- <nb_visits_percentage>% Visits</nb_visits_percentage>
+ <nb_visits_percentage>% Visits</nb_visits_percentage>
</metrics>
<constantRowsCount>1</constantRowsCount>
<documentation>In this report, you can see the number of visits who were the Nth visit, ie. visitors who visited your website at least N times.&lt;br /&gt;Please note, that you can view the report in other ways than as a tag cloud. Use the controls at the bottom of the report to do so.</documentation>
@@ -1808,7 +1808,7 @@
<documentation>This report shows which browser plugins your visitors had enabled. This information might be important for choosing the right way to deliver your content.</documentation>
<metrics>
<nb_visits>Visits</nb_visits>
- <nb_visits_percentage>% Visits</nb_visits_percentage>
+ <nb_visits_percentage>% Visits</nb_visits_percentage>
</metrics>
<constantRowsCount>1</constantRowsCount>
<metricsDocumentation>
diff --git a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_and_graph__PDFReports.generateReport_week.original.html b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_and_graph__PDFReports.generateReport_week.original.html
index f06484d972..211d4af406 100644
--- a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_and_graph__PDFReports.generateReport_week.original.html
+++ b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_and_graph__PDFReports.generateReport_week.original.html
@@ -5386,7 +5386,7 @@
&nbsp;Visits&nbsp;&nbsp;
</th>
<th style="padding: 6px 0;">
- &nbsp;% Visits&nbsp;&nbsp;
+ &nbsp;% Visits&nbsp;&nbsp;
</th>
</thead>
<tbody>
@@ -6620,7 +6620,7 @@
&nbsp;Visits&nbsp;&nbsp;
</th>
<th style="padding: 6px 0;">
- &nbsp;% Visits&nbsp;&nbsp;
+ &nbsp;% Visits&nbsp;&nbsp;
</th>
</thead>
<tbody>
diff --git a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__PDFReports.generateReport_week.original.html b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__PDFReports.generateReport_week.original.html
index 2bd73e792e..ad3ff0bb0e 100644
--- a/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__PDFReports.generateReport_week.original.html
+++ b/tests/PHPUnit/Integration/expected/test_ecommerceOrderWithItems_scheduled_report_in_html_tables_only__PDFReports.generateReport_week.original.html
@@ -5170,7 +5170,7 @@
&nbsp;Visits&nbsp;&nbsp;
</th>
<th style="padding: 6px 0;">
- &nbsp;% Visits&nbsp;&nbsp;
+ &nbsp;% Visits&nbsp;&nbsp;
</th>
</thead>
<tbody>
@@ -6314,7 +6314,7 @@
&nbsp;Visits&nbsp;&nbsp;
</th>
<th style="padding: 6px 0;">
- &nbsp;% Visits&nbsp;&nbsp;
+ &nbsp;% Visits&nbsp;&nbsp;
</th>
</thead>
<tbody>