Beispiel #1
0
 public function testBetweenNumber()
 {
     Former::withRules(array('foo' => 'between:1,10'));
     $input = Former::number('foo')->__toString();
     $matcher = $this->cg($this->field(array('min' => '1', 'max' => '10'), 'number'));
     $this->assertEquals($matcher, $input);
 }