function UserImportTest::settingsFileSelect in User Import 5
Same name and namespace in other branches
- 8 tests/user_import.test \UserImportTest::settingsFileSelect()
* Select CSV file (the included example file)
3 calls to UserImportTest::settingsFileSelect()
- UserImportBasics::testCreateImport in tests/
user_import_basics.test - * User with right permissions creates import (with new settings) * - test core functions
- UserImportNodeprofile::testCreateImport in tests/
user_import_nodeprofile.test - * User with right permissions creates import (with new settings) * - test import of user data into Nodeprofile module
- UserImportProfile::testCreateImport in tests/
user_import_profile.test - * User with right permissions creates import (with new settings) * - test import of user data into Profile module
File
- tests/
user_import.test, line 37
Class
- UserImportTest
- Create Invoice node test for Invoices module.
Code
function settingsFileSelect() {
$edit = array(
'file_ftp' => 1,
);
$this
->drupalPostRequest('admin/user/user_import/add', $edit, 'Next');
/* Check file was selected */
$this
->assertText(t('Use Different CSV File'), '[assert] File was selected');
}