We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41e8d1 commit cb69833Copy full SHA for cb69833
tests/FormOpenTest.php
@@ -45,6 +45,15 @@ public function testRenderPutFormOpen()
45
$this->assertEquals($expected, $result);
46
}
47
48
+ public function testRenderPatchFormOpen()
49
+ {
50
+ $form = new FormOpen;
51
+ $expected = '<form method="POST" action=""><input type="hidden" name="_method" value="PATCH">';
52
+ $result = $form->patch()->render();
53
+
54
+ $this->assertEquals($expected, $result);
55
+ }
56
57
public function testRenderDeleteFormOpen()
58
{
59
$form = new FormOpen;
0 commit comments