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 a09c1e1 commit 0bb5729Copy full SHA for 0bb5729
tests/BindingTest.php
@@ -50,6 +50,16 @@ public function testBindTextWithIntegerZero()
50
$this->assertEquals($expected, $result);
51
}
52
53
+ public function testBindNumber()
54
+ {
55
+ $object = $this->getStubObject();
56
+ $this->form->bind($object);
57
+
58
+ $expected = '<input type="number" name="number" value="0">';
59
+ $result = (string) $this->form->number('number');
60
+ $this->assertEquals($expected, $result);
61
+ }
62
63
public function testBindDate()
64
{
65
$object = $this->getStubObject();
0 commit comments