X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fplugins%2FPluginPlayvideosTest.php;h=338d2e351a2344969a8d30e906a54edaca0b43e9;hb=a5a9cf23acd1248585173aa32757d9720b5f2d62;hp=29ad047f4a10ae608dd1d1b59bd057f40429ff9a;hpb=93b1fe54fb99efff30eec0d405cc7319fbbc1f95;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/plugins/PluginPlayvideosTest.php b/tests/plugins/PluginPlayvideosTest.php index 29ad047f..338d2e35 100644 --- a/tests/plugins/PluginPlayvideosTest.php +++ b/tests/plugins/PluginPlayvideosTest.php @@ -1,22 +1,25 @@ $str); - $data['_PAGE_'] = Router::$PAGE_LINKLIST; + $data['_PAGE_'] = TemplatePage::LINKLIST; $data = hook_playvideos_render_header($data); $this->assertEquals($str, $data[$str]); @@ -47,7 +50,7 @@ class PluginPlayvideosTest extends PHPUnit_Framework_TestCase { $str = 'stuff'; $data = array($str => $str); - $data['_PAGE_'] = Router::$PAGE_LINKLIST; + $data['_PAGE_'] = TemplatePage::LINKLIST; $data = hook_playvideos_render_footer($data); $this->assertEquals($str, $data[$str]);