From ad61478117d6f14f7a7be6333272c879002c0fc8 Mon Sep 17 00:00:00 2001 From: Chris Leppanen <chris.leppanen@gmail.com> Date: Tue, 25 Sep 2012 14:10:10 -0700 Subject: [PATCH] Add quick test for skip_hash_check. --- tests/feeds_processor_term.test | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/feeds_processor_term.test b/tests/feeds_processor_term.test index 7fc3810c..7e48e205 100644 --- a/tests/feeds_processor_term.test +++ b/tests/feeds_processor_term.test @@ -68,6 +68,11 @@ class FeedsCSVtoTermsTest extends FeedsWebTestCase { $this->importFile('term_import', $this->absolutePath() . '/tests/feeds/users.csv'); $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. $edit = array( 'name' => 'Cousin Itt', -- GitLab