Beispiel #1
0
 protected function setUp()
 {
     parent::setUp();
     self::$logs = array();
     $this->config = $this->getMockBuilder('\\OC\\SystemConfig')->disableOriginalConstructor()->getMock();
     $this->logger = new Log('Test\\Logger', $this->config);
 }
Beispiel #2
0
 protected function setUp()
 {
     parent::setUp();
     self::$logs = array();
     $this->logger = new Log('Test\\Logger');
 }
Beispiel #3
0
 public function setUp()
 {
     self::$logs = array();
     $this->logger = new Log('Test\\Logger');
 }