silverstripe-reports/tests/MemberImportFormTest.php
Ingo Schommer 89c926221f FEATURE Import members and their group assignments from CSV in admin/security through the new MemberImportForm class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98708 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-10 23:06:31 +00: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);
}
}