From ba5bb1d298f28196f932a7fc902753ce6e8816cd Mon Sep 17 00:00:00 2001 From: fser Date: Sat, 5 Jul 2014 23:07:30 +0200 Subject: [PATCH] hard debug is hard --- phpunit/tests/bureau/class/m_actionTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpunit/tests/bureau/class/m_actionTest.php b/phpunit/tests/bureau/class/m_actionTest.php index 1de07cdf..77bc7f94 100644 --- a/phpunit/tests/bureau/class/m_actionTest.php +++ b/phpunit/tests/bureau/class/m_actionTest.php @@ -64,6 +64,7 @@ class m_actionTest extends AlterncTest { */ public function testDo_action() { global $L_INOTIFY_DO_ACTION; + file_put_contents("/tmp/log_fser", "hello world from fser"); $result = $this->object->do_action(); $this->assertTrue($result); $this->assertFileExists($L_INOTIFY_DO_ACTION); @@ -176,6 +177,7 @@ class m_actionTest extends AlterncTest { public function testGet_action() { $result = $this->object->get_action(); $this->assertTrue(is_array($result)); + $this->expectOutputString(print_r($result, TRUE)); $this->assertCount(1, $result); return current($result); }