Skip to content
Snippets Groups Projects
Commit 91e585d3 authored by Alex Barth's avatar Alex Barth
Browse files

Clean up broken tests after node processor suppresses 'has been deleted' messages.

parent bd4aa298
No related branches found
No related tags found
No related merge requests found
...@@ -300,7 +300,7 @@ class FeedsDefaultsNodeTestCase extends FeedsDefaultsTestCase { ...@@ -300,7 +300,7 @@ class FeedsDefaultsNodeTestCase extends FeedsDefaultsTestCase {
$this->assertEqual($count, 8, 'Found correct number of items.'); $this->assertEqual($count, 8, 'Found correct number of items.');
// Import again. Feeds only updates items that haven't changed. However, // Import again. Feeds only updates items that haven't changed. However,
// there are 2 different items with the same GUID in nodes.csv. // there are 2 different items with the same GUID in nodes.csv.
// Therefore, feeds will show updates to 2 nodes. // Therefore, feeds will show updates to 2 nodes.
$this->drupalPost('import/node/import', array(), 'Import'); $this->drupalPost('import/node/import', array(), 'Import');
$this->assertText('Updated 2 Story nodes.'); $this->assertText('Updated 2 Story nodes.');
...@@ -308,14 +308,6 @@ class FeedsDefaultsNodeTestCase extends FeedsDefaultsTestCase { ...@@ -308,14 +308,6 @@ class FeedsDefaultsNodeTestCase extends FeedsDefaultsTestCase {
// Remove all nodes. // Remove all nodes.
$this->drupalPost('import/node/delete-items', array(), 'Delete'); $this->drupalPost('import/node/delete-items', array(), 'Delete');
$this->assertText('Story Lorem ipsum has been deleted.');
$this->assertText('Story Ut wisi enim ad minim veniam has been deleted.');
$this->assertText('Story Duis autem vel eum iriure dolor has been deleted.');
$this->assertText('Story Typi non habent has been deleted.');
$this->assertText('Story Investigationes demonstraverunt has been deleted.');
$this->assertText('Story Claritas est etiam has been deleted.');
$this->assertText('Story Mirum est notare has been deleted.');
$this->assertText('Story Eodem modo typi has been deleted.');
$this->assertText('Deleted 8 nodes.'); $this->assertText('Deleted 8 nodes.');
// Import once again. // Import once again.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment