Skip to content
Snippets Groups Projects
Commit 7f536861 authored by Matthias Meusburger's avatar Matthias Meusburger
Browse files

hotline #26372 Integration_profiling test fix

parent 7ed17546
Branches
Tags
1 merge request!949Hotline#26372 integration profiling
......@@ -18,6 +18,10 @@
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
require_once('cosmogramme/php/classes/classe_profil_donnees.php');
abstract class Class_Cosmogramme_Integration_PhaseTestCase extends ModelTestCase {
protected
$_storm_default_to_volatile = true,
......@@ -30,6 +34,8 @@ abstract class Class_Cosmogramme_Integration_PhaseTestCase extends ModelTestCase
public function setUp() {
parent::setUp();
profil_donnees::clearCache();
$append_log = function($content) { $this->_log_content .= $content; };
$this->_log = $this->mock()
->whenCalled('addError')->willDo($append_log)
......
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