function AggregatorTestCase::deleteFeed

Deletes an aggregator feed.

Parameters

$feed: Feed object representing the feed.

14 calls to AggregatorTestCase::deleteFeed()
AddFeedTestCase::testAddFeed in drupal-7.x/modules/aggregator/aggregator.test
Creates and ensures that a feed is unique, checks source, and deletes feed.
AddFeedTestCase::testAddFeed in drupal-7.x/modules/aggregator/aggregator.test
Creates and ensures that a feed is unique, checks source, and deletes feed.
AddFeedTestCase::testAddLongFeed in drupal-7.x/modules/aggregator/aggregator.test
Tests feeds with very long URLs.
AddFeedTestCase::testAddLongFeed in drupal-7.x/modules/aggregator/aggregator.test
Tests feeds with very long URLs.
CategorizeFeedItemTestCase::testCategorizeFeedItem in drupal-7.x/modules/aggregator/aggregator.test
Checks that children of a feed inherit a defined category.

... See full list

Archivo

drupal-7.x/modules/aggregator/aggregator.test, line 49
Tests for aggregator.module.

Class

AggregatorTestCase
Defines a base class for testing the Aggregator module.

Código

function deleteFeed($feed) {
  $this->drupalPost('admin/config/services/aggregator/edit/feed/' . $feed->fid, array(), t('Delete'));
  $this->assertRaw(t('The feed %title has been deleted.', array('%title' => $feed->title)), 'Feed deleted successfully.');
}