X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fplugins%2FPluginPlayvideosTest.php;h=7ee924004a983c549bed06c1f614d75eea4610e1;hb=a932f486f20f3daf8ad657d8d39a6d6c316e66eb;hp=be1ef774796862ee2fbba32b6a7301365959254f;hpb=245432e796a6e520ec830bd1d486420e115853d8;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/plugins/PluginPlayvideosTest.php b/tests/plugins/PluginPlayvideosTest.php index be1ef774..7ee92400 100644 --- a/tests/plugins/PluginPlayvideosTest.php +++ b/tests/plugins/PluginPlayvideosTest.php @@ -4,6 +4,8 @@ * PluginPlayvideosTest.php */ +use Shaarli\Router; + require_once 'plugins/playvideos/playvideos.php'; require_once 'application/Router.php'; @@ -16,7 +18,7 @@ class PluginPlayvideosTest extends PHPUnit_Framework_TestCase /** * Reset plugin path */ - function setUp() + public function setUp() { PluginManager::$PLUGINS_PATH = 'plugins'; } @@ -24,7 +26,7 @@ class PluginPlayvideosTest extends PHPUnit_Framework_TestCase /** * Test render_linklist hook. */ - function testPlayvideosHeader() + public function testPlayvideosHeader() { $str = 'stuff'; $data = array($str => $str); @@ -43,7 +45,7 @@ class PluginPlayvideosTest extends PHPUnit_Framework_TestCase /** * Test render_footer hook. */ - function testPlayvideosFooter() + public function testPlayvideosFooter() { $str = 'stuff'; $data = array($str => $str);