Skip to content
Snippets Groups Projects
Commit 95e400e7 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

frez refacto to test on negative

parent 7bfac841
Branches
Tags
3 merge requests!896Master,!827Stable,!820Hotline #23391 remove while true
......@@ -26,6 +26,7 @@ abstract class Class_Cosmogramme_Integration_PhaseAbstract {
protected $_label = '';
protected $_phase, $_log, $_printer, $_chrono, $_is_time_out;
public function __construct($phase, $log, $chrono) {
$this->_phase = $phase;
$this->_log = $log;
......
......@@ -108,8 +108,7 @@ class Class_Cosmogramme_Integration_PhaseItemFacets
->setData('nombre', 0)
->setData('pointeur_notice', 0)
->setData('pointeur',
$last_update_date ? $last_update_date : '0000-00-00 00:00:00')
;
$last_update_date ? $last_update_date : '0000-00-00 00:00:00');
$this->_chrono
->startOnFile()
......
......@@ -127,10 +127,9 @@ class PhaseItemFacetsExpectedPreviousPhaseTest extends PhaseItemFacetsTestCase {
class PhaseItemFacetsCallbackTest extends PhaseItemFacetsTestCase {
abstract class PhaseItemFacetsCallbackTest extends PhaseItemFacetsTestCase {
protected function _previousPhase() {
return (new Class_Cosmogramme_Integration_Phase(4))
->beCron();
return (new Class_Cosmogramme_Integration_Phase(4));
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment