diff --git a/tests/src/Unit/Feeds/Fetcher/DirectoryFetcherTest.php b/tests/src/Unit/Feeds/Fetcher/DirectoryFetcherTest.php index 1a1c5ae..0ff6b16 100644 --- a/tests/src/Unit/Feeds/Fetcher/DirectoryFetcherTest.php +++ b/tests/src/Unit/Feeds/Fetcher/DirectoryFetcherTest.php @@ -81,6 +81,7 @@ class DirectoryFetcherTest extends FeedsUnitTestCase { /** * Tests fetching from a directory on which we don't have read permissions. * + * @covers ::fetch * @expectedException \RuntimeException */ public function testFetchDir() { @@ -111,6 +112,7 @@ class DirectoryFetcherTest extends FeedsUnitTestCase { /** * Tests fetching an empty directory. * + * @covers ::fetch * @expectedException \Drupal\feeds\Exception\EmptyFeedException */ public function testEmptyDirectory() { diff --git a/tests/src/Unit/Feeds/Fetcher/HttpFetcherTest.php b/tests/src/Unit/Feeds/Fetcher/HttpFetcherTest.php index 582302f..4c6c479 100644 --- a/tests/src/Unit/Feeds/Fetcher/HttpFetcherTest.php +++ b/tests/src/Unit/Feeds/Fetcher/HttpFetcherTest.php @@ -87,6 +87,7 @@ class HttpFetcherTest extends FeedsUnitTestCase { /** * Tests fetching from a HTTP source that returns a 304 (not modified). * + * @covers ::fetch * @expectedException \Drupal\feeds\Exception\EmptyFeedException */ public function testFetch304() { @@ -97,6 +98,7 @@ class HttpFetcherTest extends FeedsUnitTestCase { /** * Tests fetching from a HTTP source that returns a 404 (not found). * + * @covers ::fetch * @expectedException \RuntimeException */ public function testFetch404() { @@ -107,6 +109,7 @@ class HttpFetcherTest extends FeedsUnitTestCase { /** * Tests a fetch that fails. * + * @covers ::fetch * @expectedException \RuntimeException */ public function testFetchError() { diff --git a/tests/src/Unit/Feeds/Fetcher/UploadFetcherTest.php b/tests/src/Unit/Feeds/Fetcher/UploadFetcherTest.php index 6e04aee..a7481ce 100644 --- a/tests/src/Unit/Feeds/Fetcher/UploadFetcherTest.php +++ b/tests/src/Unit/Feeds/Fetcher/UploadFetcherTest.php @@ -83,6 +83,7 @@ class UploadFetcherTest extends FeedsUnitTestCase { /** * Tests a fetch that fails. * + * @covers ::fetch * @expectedException \RuntimeException */ public function testFetchException() { diff --git a/tests/src/Unit/Feeds/Parser/CsvParserTest.php b/tests/src/Unit/Feeds/Parser/CsvParserTest.php index 82bfd01..eae0c8d 100644 --- a/tests/src/Unit/Feeds/Parser/CsvParserTest.php +++ b/tests/src/Unit/Feeds/Parser/CsvParserTest.php @@ -91,6 +91,7 @@ class CsvParserTest extends FeedsUnitTestCase { /** * Tests parsing an empty CSV file. * + * @covers ::parse * @expectedException \Drupal\feeds\Exception\EmptyFeedException */ public function testEmptyFeed() { diff --git a/tests/src/Unit/Feeds/Parser/OpmlParserTest.php b/tests/src/Unit/Feeds/Parser/OpmlParserTest.php index 4b75c21..4c3384b 100644 --- a/tests/src/Unit/Feeds/Parser/OpmlParserTest.php +++ b/tests/src/Unit/Feeds/Parser/OpmlParserTest.php @@ -78,6 +78,7 @@ class OpmlParserTest extends FeedsUnitTestCase { /** * Tests parsing an empty feed. * + * @covers ::parse * @expectedException \Drupal\feeds\Exception\EmptyFeedException */ public function testEmptyFeed() { diff --git a/tests/src/Unit/Feeds/Parser/SitemapParserTest.php b/tests/src/Unit/Feeds/Parser/SitemapParserTest.php index 2e6d375..46300ee 100644 --- a/tests/src/Unit/Feeds/Parser/SitemapParserTest.php +++ b/tests/src/Unit/Feeds/Parser/SitemapParserTest.php @@ -78,6 +78,7 @@ class SitemapParserTest extends FeedsUnitTestCase { /** * Tests parsing an invalid feed. * + * @covers ::parse * @expectedException \Exception */ public function testInvalidFeed() { @@ -88,6 +89,7 @@ class SitemapParserTest extends FeedsUnitTestCase { /** * Tests parsing an empty feed. * + * @covers ::parse * @expectedException \Drupal\feeds\Exception\EmptyFeedException */ public function testEmptyFeed() { diff --git a/tests/src/Unit/Feeds/Parser/SyndicationParserTest.php b/tests/src/Unit/Feeds/Parser/SyndicationParserTest.php index 1f6e50b..26cacf0 100644 --- a/tests/src/Unit/Feeds/Parser/SyndicationParserTest.php +++ b/tests/src/Unit/Feeds/Parser/SyndicationParserTest.php @@ -110,6 +110,7 @@ class SyndicationParserTest extends FeedsUnitTestCase { /** * Tests parsing an invalid feed. * + * @covers ::parse * @expectedException \RuntimeException */ public function testInvalidFeed() { @@ -120,6 +121,7 @@ class SyndicationParserTest extends FeedsUnitTestCase { /** * Tests parsing an empty feed. * + * @covers ::parse * @expectedException \Drupal\feeds\Exception\EmptyFeedException */ public function testEmptyFeed() {