Skip to content
Extraits de code Groupes Projets
Valider 62607a51 rédigé par mattab's avatar mattab
Parcourir les fichiers

fixing a unit test now that the function does not throw exception refs #6485

parent 7954d4c4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -253,14 +253,7 @@ class ArchiveWriter
protected function getTableNumeric()
{
return ArchiveTableCreator::getNumericTable($this->dateStart);
}
protected function getInsertFields()
{
return $this->fields;
}
protected function isRecordZero($value)
}TRecordZero($value)
{
return ($value === '0' || $value === false || $value === 0 || $value === 0.0);
}
......
......@@ -328,7 +328,7 @@ class DataTableTest extends \PHPUnit_Framework_TestCase
$row2 = new Row(array(Row::COLUMNS => $columns2));
$row2->sumRow($row1);
$this->fail("sumRow did not throw when adding two string columns.");
}
/**
......
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