public function patch() { return $this->setHiddenMethod('PATCH'); }
public function testRenderPatchFormOpen() { $form = new FormOpen(); $expected = '<form method="POST" action=""><input type="hidden" name="_method" value="PATCH">'; $result = $form->patch()->render(); $this->assertEquals($expected, $result); }