Пример #1
0
 /**
  * @dataProvider inputLogData
  * To run test, make param settings non-optional
  */
 public function testLog($message, $settings, $expected)
 {
     Track::settings('test', array('errors' => 'errors.log', 'exceptions' => 'exceptions.log', 'trace' => 'log.logs'), null);
     $this->assertEquals($expected, Track::log($message, $settings));
 }