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
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/DataTable.test.php')
-rw-r--r--tests/core/DataTable.test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core/DataTable.test.php b/tests/core/DataTable.test.php
index 878ca2e5ef..271535b354 100644
--- a/tests/core/DataTable.test.php
+++ b/tests/core/DataTable.test.php
@@ -70,10 +70,10 @@ class Test_Piwik_DataTable extends UnitTestCase
$table = $this->getSimpleTestDataTable();
$rowsCount = $table->getRowsCount();
- $this->assertTrue($table->getLastRow(), $table->getRowFromId(Piwik_DataTable::ID_SUMMARY_ROW));
+ $this->assertEqual($table->getLastRow(), $table->getRowFromId(Piwik_DataTable::ID_SUMMARY_ROW));
$table->deleteRow(Piwik_DataTable::ID_SUMMARY_ROW);
- $this->assertTrue($table->getLastRow(), $table->getRowFromId($rowsCount-2));
+ $this->assertEqual($table->getLastRow(), $table->getRowFromId($rowsCount-2));
}
public function test_getRowFromIdSubDataTable()