action() public method

public action ( $action )
Example #1
0
 public function testSetAction()
 {
     $form = new FormOpen();
     $expected = '<form method="POST" action="/test">';
     $result = $form->action('/test')->render();
     $this->assertEquals($expected, $result);
 }