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

Avoid busy setting changes.

parent d502342f
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ class FeedsUserProcessor extends FeedsProcessor { ...@@ -100,7 +100,7 @@ class FeedsUserProcessor extends FeedsProcessor {
// Prepare term object. // Prepare term object.
$target_account = new stdClass(); $target_account = new stdClass();
$target_account->uid = 0; $target_account->uid = 0;
$target_account->roles = $this->config['roles']; $target_account->roles = array_filter($this->config['roles']);
$target_account->status = $this->config['status']; $target_account->status = $this->config['status'];
// Have parent class do the iterating. // Have parent class do the iterating.
......
...@@ -612,10 +612,9 @@ class FeedsCSVtoUsersTest extends FeedsWebTestCase { ...@@ -612,10 +612,9 @@ class FeedsCSVtoUsersTest extends FeedsWebTestCase {
); );
$this->addMappings('user_import', $mappings); $this->addMappings('user_import', $mappings);
// Change some of the basic configuration. // Use standalone form.
$edit = array( $edit = array(
'content_type' => '', 'content_type' => '',
'import_period' => FEEDS_SCHEDULE_NEVER,
); );
$this->drupalPost('admin/build/feeds/edit/user_import/settings', $edit, 'Save'); $this->drupalPost('admin/build/feeds/edit/user_import/settings', $edit, 'Save');
......
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