function UserImportWebTestCase::settingsFileSelect in User Import 6.2
Same name and namespace in other branches
- 8 user_import.test \UserImportWebTestCase::settingsFileSelect()
- 6.4 user_import.test \UserImportWebTestCase::settingsFileSelect()
- 7.3 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)
3 calls to UserImportWebTestCase::settingsFileSelect()
- UserImportBasicsTestCase::testCreateImport in ./
user_import.test - User with right permissions creates import (with new settings)
- UserImportNodeprofileTestCase::testCreateImport in ./
user_import.test - User with right permissions creates import (with new settings)
- UserImportProfileTestCase::testCreateImport in ./
user_import.test - User with right permissions creates import (with new settings)
File
- ./
user_import.test, line 17
Class
- UserImportWebTestCase
- User Import module base test class.
Code
function settingsFileSelect() {
$edit = array(
'file_ftp' => 1,
);
$this
->drupalPost('admin/user/user_import/add', $edit, 'Next');
/* Check file was selected */
$this
->assertText(t('Use Different CSV File'), '[assert] File was selected');
}