]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/feed/CachedPageTest.php
RSS/ATOM feeds: process through Slim controller
[github/shaarli/Shaarli.git] / tests / feed / CachedPageTest.php
index 363028a2dae3ba4779a197ec58a031f76a45382d..57f3b09be8ebcbc552b9a8e0fed455f9e90b878c 100644 (file)
@@ -11,7 +11,7 @@ class CachedPageTest extends \PHPUnit\Framework\TestCase
 {
     // test cache directory
     protected static $testCacheDir = 'sandbox/pagecache';
-    protected static $url = 'http://shaar.li/?do=atom';
+    protected static $url = 'http://shaar.li/feed-atom';
     protected static $filename;
 
     /**
@@ -42,8 +42,8 @@ class CachedPageTest extends \PHPUnit\Framework\TestCase
     {
         new CachedPage(self::$testCacheDir, '', true);
         new CachedPage(self::$testCacheDir, '', false);
-        new CachedPage(self::$testCacheDir, 'http://shaar.li/?do=rss', true);
-        new CachedPage(self::$testCacheDir, 'http://shaar.li/?do=atom', false);
+        new CachedPage(self::$testCacheDir, 'http://shaar.li/feed-rss', true);
+        new CachedPage(self::$testCacheDir, 'http://shaar.li/feed-atom', false);
         $this->addToAssertionCount(1);
     }