diff options
author | VirtualTam <virtualtam@flibidi.net> | 2016-08-13 14:48:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-13 14:48:51 +0200 |
commit | 8758bb0ac8cb68d32122009dbcb977d2f0fad2b0 (patch) | |
tree | 586fe98bd463424e152232cb66bee0465e7c74b5 /tests/PluginManagerTest.php | |
parent | eec3666ba60b20f1db054102ccbd618d3bb79594 (diff) | |
parent | 876533e86801246bef893e7124ce044ebf33239f (diff) | |
download | Shaarli-8758bb0ac8cb68d32122009dbcb977d2f0fad2b0.tar.gz Shaarli-8758bb0ac8cb68d32122009dbcb977d2f0fad2b0.tar.zst Shaarli-8758bb0ac8cb68d32122009dbcb977d2f0fad2b0.zip |
Merge pull request #619 from ArthurHoaro/plugins/param-desc
Add a description to plugin parameters
Diffstat (limited to 'tests/PluginManagerTest.php')
-rw-r--r-- | tests/PluginManagerTest.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/PluginManagerTest.php b/tests/PluginManagerTest.php index c7511051..ddf48185 100644 --- a/tests/PluginManagerTest.php +++ b/tests/PluginManagerTest.php | |||
@@ -79,8 +79,14 @@ class PluginManagerTest extends PHPUnit_Framework_TestCase | |||
79 | $this->pluginManager->load(array(self::$pluginName)); | 79 | $this->pluginManager->load(array(self::$pluginName)); |
80 | 80 | ||
81 | $expectedParameters = array( | 81 | $expectedParameters = array( |
82 | 'pop' => '', | 82 | 'pop' => array( |
83 | 'hip' => '', | 83 | 'value' => '', |
84 | 'desc' => 'pop description', | ||
85 | ), | ||
86 | 'hip' => array( | ||
87 | 'value' => '', | ||
88 | 'desc' => '', | ||
89 | ), | ||
84 | ); | 90 | ); |
85 | $meta = $this->pluginManager->getPluginsMeta(); | 91 | $meta = $this->pluginManager->getPluginsMeta(); |
86 | $this->assertEquals('test plugin', $meta[self::$pluginName]['description']); | 92 | $this->assertEquals('test plugin', $meta[self::$pluginName]['description']); |