mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +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);
|
||
|
}
|
||
|
|
||
|
}
|