diff --git a/tests/unit/OutputManagerTest.php b/tests/unit/OutputManagerTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/OutputManagerTest.php
+++ b/tests/unit/OutputManagerTest.php
@@ -92,6 +92,7 @@ class OutputManagerTest extends \Codeception\Test\Unit
                 "template"  =>  $this->tplName
             ]
         );
+        $this->manager->setHandler(m::mock(\SlaxWeb\Output\AbstractHandler::class));
 
         restore_error_handler();
     }
set a mocked output handler in manager unit test