*/
public function testAddPluginThrowsExceptionWhenPluginClassNotFound()
{
- $path = sys_get_temp_dir() . '/Phergie/Plugin';
+ $path = common_get_temp_dir() . '/Phergie/Plugin';
$this->removeDirectory(dirname($path));
mkdir($path, 0777, true);
touch($path . '/TestPlugin.php');