function UserImportTest::importID in User Import 5
Same name and namespace in other branches
- 8 tests/user_import.test \UserImportTest::importID()
* Store import ID * - set on import settings page, retrieve on later tasks
5 calls to UserImportTest::importID()
- UserImportBasics::testCreateImport in tests/
user_import_basics.test - * User with right permissions creates import (with new settings) * - test core functions
- UserImportNodeprofile::tearDown in tests/
user_import_nodeprofile.test - SimpleTest core method: code run after each and every test method.
- 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
- UserImportTest::tearDown in tests/
user_import.test - SimpleTest core method: code run after each and every test method.
File
- tests/
user_import.test, line 119
Class
- UserImportTest
- Create Invoice node test for Invoices module.
Code
function importID($url = NULL) {
static $import_id = 0;
if (empty($import_id) && !empty($url)) {
$args = explode('/', $url);
$import_id = $args[7];
}
return $import_id;
}