diff --git a/tests/cases/Feed/TestFeedFetching.php b/tests/cases/Feed/TestFeedFetching.php index 86611b6b..fd1fc0da 100644 --- a/tests/cases/Feed/TestFeedFetching.php +++ b/tests/cases/Feed/TestFeedFetching.php @@ -54,12 +54,6 @@ class TestFeedFetching extends Test\AbstractTest { new Feed(null, $this->base."Fetching/EndlessLoop?i=0"); } - public function testHandleATimeout() { - Arsse::$conf->fetchTimeout = 1; - $this->assertException("timeout", "Feed"); - new Feed(null, $this->base."Fetching/Timeout"); - } - public function testHandleAnOverlyLargeFeed() { Arsse::$conf->fetchSizeLimit = 512; $this->assertException("maxSize", "Feed"); @@ -70,4 +64,10 @@ class TestFeedFetching extends Test\AbstractTest { $this->assertException("invalidCertificate", "Feed"); new Feed(null, "https://localhost:8000/"); } + + public function testHandleATimeout() { + Arsse::$conf->fetchTimeout = 1; + $this->assertException("timeout", "Feed"); + new Feed(null, $this->base."Fetching/Timeout"); + } } diff --git a/tests/docroot/Feed/Fetching/Timeout.php b/tests/docroot/Feed/Fetching/Timeout.php index f841011c..cfa7c5fb 100644 --- a/tests/docroot/Feed/Fetching/Timeout.php +++ b/tests/docroot/Feed/Fetching/Timeout.php @@ -1,5 +1,5 @@ 404, 'cache' => false,