multipart() public method

public multipart ( )
コード例 #1
0
ファイル: FormOpenTest.php プロジェクト: adamwathan/form
 public function testMultipart()
 {
     $form = new FormOpen();
     $expected = '<form method="POST" action="" enctype="multipart/form-data">';
     $result = $form->multipart()->render();
     $this->assertEquals($expected, $result);
 }