mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-09-05 17:21:24 +02:00
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98708 467b73ca-7a2a-4603-9d3b-597d59a354a9
21 lines
338 B
PHP
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);
|
|
}
|
|
|
|
} |