X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FPluginManagerTest.php;h=df2614b557d8cf94a03679531e3a4e125706a440;hb=d06265fb5785493ee845d4c4a86583402b475b60;hp=749ce2b5233b4f9c4e4ad46e8bfb33621f8f7ac9;hpb=567967fdf94b2b8ba2b2fc9c8836e89ac23c8c71;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/PluginManagerTest.php b/tests/PluginManagerTest.php old mode 100755 new mode 100644 index 749ce2b5..df2614b5 --- a/tests/PluginManagerTest.php +++ b/tests/PluginManagerTest.php @@ -13,15 +13,15 @@ class PluginManagerTest extends PHPUnit_Framework_TestCase { /** * Path to tests plugin. - * @var string $_PLUGIN_PATH + * @var string $pluginPath */ - private static $_PLUGIN_PATH = 'tests/plugins'; + private static $pluginPath = 'tests/plugins'; /** * Test plugin. - * @var string $_PLUGIN_NAME + * @var string $pluginName */ - private static $_PLUGIN_NAME = 'test'; + private static $pluginName = 'test'; /** * Test plugin loading and hook execution. @@ -32,8 +32,8 @@ class PluginManagerTest extends PHPUnit_Framework_TestCase { $pluginManager = PluginManager::getInstance(); - PluginManager::$PLUGINS_PATH = self::$_PLUGIN_PATH; - $pluginManager->load(array(self::$_PLUGIN_NAME)); + PluginManager::$PLUGINS_PATH = self::$pluginPath; + $pluginManager->load(array(self::$pluginName)); $this->assertTrue(function_exists('hook_test_random'));