Former\LiveValidationTest::testCantUseAcceptOnNonFilesFields PHP Метод

testCantUseAcceptOnNonFilesFields() публичный Метод

    public function testCantUseAcceptOnNonFilesFields()
    {
        $this->former->withRules(array('foo' => array('mimes:jpg,gif')));
        $input = $this->former->text('foo')->render();
        $matcher = $this->matchField();
        $this->assertHTML($matcher, $input);
    }
LiveValidationTest