summaryrefslogtreecommitdiff
path: root/plugins/Timetrackingeditor/Test/PluginTest.php
blob: e563e9e48eaa0d453690b96108404d4d50e32179 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
require_once 'tests/units/Base.php';
use Kanboard\Plugin\Timetable\Plugin;
class PluginTest extends Base
{
    public function testPlugin()
    {
        $plugin = new Plugin($this->container);
        $this->assertSame(null, $plugin->initialize());
        $this->assertSame(null, $plugin->onStartup());
        $this->assertNotEmpty($plugin->getPluginName());
        $this->assertNotEmpty($plugin->getPluginDescription());
        $this->assertNotEmpty($plugin->getPluginAuthor());
        $this->assertNotEmpty($plugin->getPluginVersion());
        $this->assertNotEmpty($plugin->getPluginHomepage());
    }
}