summaryrefslogtreecommitdiff
path: root/plugins/InternalID/Test/PluginTest.php
diff options
context:
space:
mode:
authorDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2020-01-15 16:07:19 +0100
committerDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2020-01-15 16:07:19 +0100
commit95e7b1498f2c178383699f8d30208cc326b7a37b (patch)
treecc1fae78a1a807fcfce8d6539d373afd670f484d /plugins/InternalID/Test/PluginTest.php
parentb6f34622b169652c57e7cabd8d11e28605f110c3 (diff)
Displaying internal project ID for tasks
Diffstat (limited to 'plugins/InternalID/Test/PluginTest.php')
-rw-r--r--plugins/InternalID/Test/PluginTest.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/InternalID/Test/PluginTest.php b/plugins/InternalID/Test/PluginTest.php
new file mode 100644
index 00000000..973506e7
--- /dev/null
+++ b/plugins/InternalID/Test/PluginTest.php
@@ -0,0 +1,20 @@
+<?php
+
+require_once 'tests/units/Base.php';
+
+use Kanboard\Plugin\InternalID\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());
+ }
+}