silverstripe-cms/tests/MemberImportFormTest.php
Ingo Schommer a9d6dec5ec FEATURE Import members and their group assignments from CSV in admin/security through the new MemberImportForm class (merged from r98708)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98732 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:42 +13:00

21 lines
338 B
PHP

<?php
/**
* @package cms
* @subpackage tests
*/
class MemberImportFormTest extends SapphireTest {
function testLoad() {
$form = new MemberImportForm(
new Controller(),
'Form'
);
$data = array(
'CsvFile' => array(
'tmp_name' => 'cms/tests/MemberImportFormTest.yml'
)
);
$form->doImport($data, $form);
}
}