summaryrefslogtreecommitdiff
path: root/plugins/TimeMachine/Test/PluginTest.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-05-05 14:25:42 +0200
committeremkael <emkael@tlen.pl>2020-05-05 14:25:42 +0200
commit62827e6cf470449c117624058fb36ad94804bcc0 (patch)
tree10cd1e4d36c34b694acfadaa69fc7f6ae2b1eabd /plugins/TimeMachine/Test/PluginTest.php
parent7b66ddf2e4fbdb837e78d8b7dbaa9fc38391bc32 (diff)
Time tracking related pluginsHEADmaster
Diffstat (limited to 'plugins/TimeMachine/Test/PluginTest.php')
-rw-r--r--plugins/TimeMachine/Test/PluginTest.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/TimeMachine/Test/PluginTest.php b/plugins/TimeMachine/Test/PluginTest.php
new file mode 100644
index 00000000..ad56a5b4
--- /dev/null
+++ b/plugins/TimeMachine/Test/PluginTest.php
@@ -0,0 +1,19 @@
+<?php
+require_once '../../../tests/units/Base.php';
+
+use Kanboard\Plugin\TimeMachine\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());
+ }
+} \ No newline at end of file