Skip to content
Snippets Groups Projects
Commit ad614781 authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Add quick test for skip_hash_check.

parent 71093af2
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,11 @@ class FeedsCSVtoTermsTest extends FeedsWebTestCase { ...@@ -68,6 +68,11 @@ class FeedsCSVtoTermsTest extends FeedsWebTestCase {
$this->importFile('term_import', $this->absolutePath() . '/tests/feeds/users.csv'); $this->importFile('term_import', $this->absolutePath() . '/tests/feeds/users.csv');
$this->assertText('There are no new terms.'); $this->assertText('There are no new terms.');
// Force update.
$this->setSettings('term_import', 'FeedsTermProcessor', array('skip_hash_check' => TRUE));
$this->importFile('term_import', $this->absolutePath() . '/tests/feeds/users.csv');
$this->assertText('Updated 5 terms.');
// Add a term manually, delete all terms, this term should still stand. // Add a term manually, delete all terms, this term should still stand.
$edit = array( $edit = array(
'name' => 'Cousin Itt', 'name' => 'Cousin Itt',
......
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