function UserImportWebTestCase::settingsFileSelect in User Import 7.3
Same name and namespace in other branches
- 8 user_import.test \UserImportWebTestCase::settingsFileSelect()
- 6.4 user_import.test \UserImportWebTestCase::settingsFileSelect()
- 6.2 user_import.test \UserImportWebTestCase::settingsFileSelect()
- 7 user_import.test \UserImportWebTestCase::settingsFileSelect()
- 7.2 user_import.test \UserImportWebTestCase::settingsFileSelect()
Select CSV file (the included example file)
1 call to UserImportWebTestCase::settingsFileSelect()
- UserImportBasicsTestCase::testCreateImport in ./
user_import.test - User with right permissions creates import (with new settings)
File
- ./
user_import.test, line 13
Class
- UserImportWebTestCase
- User Import module base test class.
Code
function settingsFileSelect() {
$edit = array(
'file_ftp' => 1,
);
$this
->drupalPost('admin/people/user_import/add', $edit, t('Next'));
/* Check file was selected */
$this
->assertText(t('Use Different CSV File'), '[assert] File was selected');
}