You are here

protected function UpdateNonExistentTest::assertCleanListEmpty in Feeds 8.3

Asserts that no items exist on the clean list for the given feed.

Parameters

\Drupal\feeds\FeedInterface $feed: The feed to check the clean list for.

4 calls to UpdateNonExistentTest::assertCleanListEmpty()
UpdateNonExistentTest::testDeleteNonExistentItems in tests/src/Kernel/UpdateNonExistentTest.php
Tests 'Delete non-existent' option.
UpdateNonExistentTest::testEmptyCleanListAfterClearingStates in tests/src/Kernel/UpdateNonExistentTest.php
Tests if the feeds clean list gets empty after clearing states.
UpdateNonExistentTest::testEmptyCleanListAfterDeletingFeed in tests/src/Kernel/UpdateNonExistentTest.php
Tests if the feeds clean list gets empty after deleting feed.
UpdateNonExistentTest::testUnpublishNonExistentItems in tests/src/Kernel/UpdateNonExistentTest.php
Tests 'Unpublish non-existent' option.

File

tests/src/Kernel/UpdateNonExistentTest.php, line 73

Class

UpdateNonExistentTest
Tests the feature of updating items that are no longer available in the feed.

Namespace

Drupal\Tests\feeds\Kernel

Code

protected function assertCleanListEmpty(FeedInterface $feed) {
  $this
    ->assertCleanListCount(0, $feed);
}