blob: b766dd96872732797afb618de12077379f3beff1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
require_once __DIR__.'/../Base.php';
use Kanboard\Core\Helper;
class HelperTest extends Base
{
public function testRegister()
{
$helper = new Helper($this->container);
$helper->register('foobar', '\Stdclass');
$this->assertInstanceOf('Stdclass', $helper->foobar);
$this->assertInstanceOf('Stdclass', $helper->getHelper('foobar'));
}
}
|