mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
a9d6dec5ec
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98732 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);
|
|
}
|
|
|
|
} |