aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PluginManagerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PluginManagerTest.php')
-rw-r--r--[-rwxr-xr-x]tests/PluginManagerTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/PluginManagerTest.php b/tests/PluginManagerTest.php
index 749ce2b5..df2614b5 100755..100644
--- a/tests/PluginManagerTest.php
+++ b/tests/PluginManagerTest.php
@@ -13,15 +13,15 @@ class PluginManagerTest extends PHPUnit_Framework_TestCase
13{ 13{
14 /** 14 /**
15 * Path to tests plugin. 15 * Path to tests plugin.
16 * @var string $_PLUGIN_PATH 16 * @var string $pluginPath
17 */ 17 */
18 private static $_PLUGIN_PATH = 'tests/plugins'; 18 private static $pluginPath = 'tests/plugins';
19 19
20 /** 20 /**
21 * Test plugin. 21 * Test plugin.
22 * @var string $_PLUGIN_NAME 22 * @var string $pluginName
23 */ 23 */
24 private static $_PLUGIN_NAME = 'test'; 24 private static $pluginName = 'test';
25 25
26 /** 26 /**
27 * Test plugin loading and hook execution. 27 * Test plugin loading and hook execution.
@@ -32,8 +32,8 @@ class PluginManagerTest extends PHPUnit_Framework_TestCase
32 { 32 {
33 $pluginManager = PluginManager::getInstance(); 33 $pluginManager = PluginManager::getInstance();
34 34
35 PluginManager::$PLUGINS_PATH = self::$_PLUGIN_PATH; 35 PluginManager::$PLUGINS_PATH = self::$pluginPath;
36 $pluginManager->load(array(self::$_PLUGIN_NAME)); 36 $pluginManager->load(array(self::$pluginName));
37 37
38 $this->assertTrue(function_exists('hook_test_random')); 38 $this->assertTrue(function_exists('hook_test_random'));
39 39