diff options
Diffstat (limited to 'plugins/TaskIntervalButton/Test')
-rw-r--r-- | plugins/TaskIntervalButton/Test/PluginTest.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/TaskIntervalButton/Test/PluginTest.php b/plugins/TaskIntervalButton/Test/PluginTest.php new file mode 100644 index 00000000..7640c814 --- /dev/null +++ b/plugins/TaskIntervalButton/Test/PluginTest.php @@ -0,0 +1,20 @@ +<?php + +require_once 'tests/units/Base.php'; + +use Kanboard\Plugin\TaskIntervalButton\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()); + } +} |