ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SlackbotHandlerTest.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the Monolog package.
5  *
6  * (c) Jordi Boggiano <j.boggiano@seld.be>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
12 namespace Monolog\Handler;
13 
15 use Monolog\Logger;
16 
23 {
27  public function testConstructorMinimal()
28  {
29  $handler = new SlackbotHandler('test-team', 'test-token', 'test-channel');
30  $this->assertInstanceOf('Monolog\Handler\AbstractProcessingHandler', $handler);
31  }
32 
36  public function testConstructorFull()
37  {
39  'test-team',
40  'test-token',
41  'test-channel',
43  false
44  );
45  $this->assertInstanceOf('Monolog\Handler\AbstractProcessingHandler', $handler);
46  }
47 }
const DEBUG
Detailed debug information.
Definition: Logger.php:33
Sends notifications through Slack&#39;s Slackbot.
$handler