mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-08-26 12:35:59 +02:00
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);
|
||
|
}
|
||
|
|
||
|
}
|