X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Fplugins%2FPluginPubsubhubbubTest.php;h=e66f484edcdb6928ec4213ae918c2ebff2b36323;hb=5cacf290f01076587e8d7ac82feef855e4a2d10f;hp=4680513eba0cef15f50d7075af937295938c02e9;hpb=e1850388348d4bfdf463a5aa341bc470da79cf32;p=github%2Fshaarli%2FShaarli.git
diff --git a/tests/plugins/PluginPubsubhubbubTest.php b/tests/plugins/PluginPubsubhubbubTest.php
index 4680513e..e66f484e 100644
--- a/tests/plugins/PluginPubsubhubbubTest.php
+++ b/tests/plugins/PluginPubsubhubbubTest.php
@@ -1,16 +1,17 @@
set('plugins.PUBSUBHUB_URL', $hub);
- $data['_PAGE_'] = Router::$PAGE_FEED_RSS;
+ $data['_PAGE_'] = TemplatePage::FEED_RSS;
$data = hook_pubsubhubbub_render_feed($data, $conf);
$expected = '';
@@ -48,7 +49,7 @@ class PluginPubsubhubbubTest extends PHPUnit_Framework_TestCase
$hub = 'http://domain.hub';
$conf = new ConfigManager(self::$configFile);
$conf->set('plugins.PUBSUBHUB_URL', $hub);
- $data['_PAGE_'] = Router::$PAGE_FEED_ATOM;
+ $data['_PAGE_'] = TemplatePage::FEED_ATOM;
$data = hook_pubsubhubbub_render_feed($data, $conf);
$expected = '';